This commit is contained in:
rzuasti
2026-02-25 15:58:32 -05:00
parent 9ff6c9ec7e
commit d3d8681626
+2
View File
@@ -15,6 +15,8 @@ use crate::{
model::{devices::Device, notifications::Notification}, model::{devices::Device, notifications::Notification},
}; };
// TODO: Split into modules by object and utils
pub async fn serve() -> Result<(), Box<dyn Error>> { pub async fn serve() -> Result<(), Box<dyn Error>> {
info!("Starting web server"); info!("Starting web server");
let static_files = ServeDir::new("./web"); let static_files = ServeDir::new("./web");