serve_static_with_prefix

Function serve_static_with_prefix 

Source
pub fn serve_static_with_prefix(
    root_dir: impl Into<PathBuf>,
    prefix: impl Into<String>,
) -> Arc<StaticFileHandler>
Expand description

Create static file handler with custom prefix