Function serve_files_with_script

Source
pub async fn serve_files_with_script(
    __arg0: Extension<FrontedEnvironment>,
    req: Request<Body>,
) -> Result<Response<UnsyncBoxBody<Bytes, BoxError>>, Infallible>
Expand description

Static file handler that injects a script tag with environment variables into HTML files.