Prepare release generation

This commit is contained in:
2025-03-20 21:17:47 +01:00
parent c6757f477a
commit c967103a16
10 changed files with 169 additions and 8 deletions

View File

@ -100,6 +100,12 @@ async fn main() -> std::io::Result<()> {
"/api/tokens/{id}",
web::delete().to(tokens_controller::delete),
)
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(
"/{tail:.*}",
web::get().to(static_controller::serve_static_content),
)
})
.bind(AppConfig::get().listen_address.as_str())?
.run()