Prepare release generation
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user