diff --git a/src/static/index.css b/src/assets/index.css similarity index 100% rename from src/static/index.css rename to src/assets/index.css diff --git a/src/static/index.html b/src/assets/index.html similarity index 100% rename from src/static/index.html rename to src/assets/index.html diff --git a/src/static/index.js b/src/assets/index.js similarity index 100% rename from src/static/index.js rename to src/assets/index.js diff --git a/src/server.rs b/src/server.rs index 5c2c909..28dec09 100644 --- a/src/server.rs +++ b/src/server.rs @@ -37,9 +37,9 @@ macro_rules! status_code { }; } -const INDEX_HTML: &str = include_str!("static/index.html"); -const INDEX_CSS: &str = include_str!("static/index.css"); -const INDEX_JS: &str = include_str!("static/index.js"); +const INDEX_HTML: &str = include_str!("assets/index.html"); +const INDEX_CSS: &str = include_str!("assets/index.css"); +const INDEX_JS: &str = include_str!("assets/index.js"); const BUF_SIZE: usize = 1024 * 16; pub async fn serve(args: Args) -> BoxResult<()> {