feat: default service handler, lets all love lain
This commit is contained in:
@@ -38,6 +38,7 @@ pub async fn start_app(args: crate::args::Args, config: crate::conf::Config) ->
|
||||
App::new()
|
||||
.app_data(web::Data::new(app))
|
||||
.service(services::images::make_scope(ws::IMAGES))
|
||||
.default_service(web::to(services::not_found::not_found))
|
||||
})
|
||||
.bind(&app.config.server.listen)?
|
||||
.run()
|
||||
|
||||
Reference in New Issue
Block a user