vertigo_handler

Function vertigo_handler 

Source
pub fn vertigo_handler(mount_config: &MountConfig) -> Route
Expand description

Directly attach SSR mechanism to the actix web server (no static files mounting)

To root path:

app.default_service(vertigo_handler(&mount_config));

To custom mount point:

app.service(
    web::scope(mount_config.mount_point())
        .default_service(vertigo_handler(&mount_config)),
);