pub fn vertigo_handler(mount_config: &MountConfig) -> RouteExpand 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)),
);