more shit.

This commit is contained in:
didier amyot committed 2023-02-05 13:58:47 -05:00
1 parent de51e20181
commit ba7763cbb1
6 files changed
+88 -41

No files matched your search

+2 -1
View File
@@ -69,7 +69,6 @@ pub async fn web_ui_main(port: u16, enable_template_autoreload: bool) -> std::io
notifier.watch_path(&tmpl_path, true);
}
env.set_source(minijinja::Source::from_path(tmpl_path));
println!("boom");
Ok(env)
});
@@ -81,6 +80,8 @@ pub async fn web_ui_main(port: u16, enable_template_autoreload: bool) -> std::io
.service(views::index)
.service(views::actions)
.service(views::overview)
.service(views::overview_submit_button)
.service(views::push_event)
.wrap(ErrorHandlers::new().handler(StatusCode::NOT_FOUND, not_found))
.wrap(Logger::default())
})