Skip to main content

handle_template_apply_base_path_command

Function handle_template_apply_base_path_command 

Source
pub fn handle_template_apply_base_path_command(
    html: &str,
    base_path: Option<&str>,
) -> Option<String>
Expand description

Applies a template base path to URL-bearing attributes.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::handle_template_apply_base_path_command can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_template_apply_base_path_command(todo!(), "/app");