fix root route

This commit is contained in:
Irevoire
2021-03-19 11:34:54 +01:00
parent 1640d9ea91
commit 7ecefe37da
2 changed files with 13 additions and 1 deletions

View File

@ -44,7 +44,7 @@ macro_rules! create_app {
let app = if $enable_frontend {
app.service(load_html).service(load_css)
} else {
app
app.service(running)
};
app.wrap(
Cors::default()