diff --git a/src/assets/index.css b/assets/index.css similarity index 100% rename from src/assets/index.css rename to assets/index.css diff --git a/src/assets/index.html b/assets/index.html similarity index 100% rename from src/assets/index.html rename to assets/index.html diff --git a/src/assets/index.js b/assets/index.js similarity index 100% rename from src/assets/index.js rename to assets/index.js diff --git a/src/server.rs b/src/server.rs index deb5d76..d88049a 100644 --- a/src/server.rs +++ b/src/server.rs @@ -32,9 +32,9 @@ use tokio_util::io::{ReaderStream, StreamReader}; type Request = hyper::Request; type Response = hyper::Response; -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 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; macro_rules! status {