chore: rename src/static to src/assets

This commit is contained in:
sigoden 2022-05-30 14:32:41 +08:00
parent 62696b45fd
commit 6b293c0f2e
4 changed files with 3 additions and 3 deletions

View file

@ -37,9 +37,9 @@ macro_rules! status_code {
}; };
} }
const INDEX_HTML: &str = include_str!("static/index.html"); const INDEX_HTML: &str = include_str!("assets/index.html");
const INDEX_CSS: &str = include_str!("static/index.css"); const INDEX_CSS: &str = include_str!("assets/index.css");
const INDEX_JS: &str = include_str!("static/index.js"); const INDEX_JS: &str = include_str!("assets/index.js");
const BUF_SIZE: usize = 1024 * 16; const BUF_SIZE: usize = 1024 * 16;
pub async fn serve(args: Args) -> BoxResult<()> { pub async fn serve(args: Args) -> BoxResult<()> {