diff --git a/src/main.rs b/src/main.rs index d507046..f2574cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ async fn main() -> std::io::Result<()> { HttpServer::new(|| { App::new() - .service(fs::Files::new("/static", "./src/static").show_files_listing()) + .service(fs::Files::new("/static", "./static").show_files_listing()) .service(routes::main::main) // .default_service(web::route().to(routes::not_found::not_found)) }) diff --git a/src/static/all.css b/static/all.css similarity index 100% rename from src/static/all.css rename to static/all.css diff --git a/src/static/htmx.js b/static/htmx.js similarity index 100% rename from src/static/htmx.js rename to static/htmx.js