Browse Source

chore: rename src/static to src/assets

pull/8/head
sigoden 3 years ago
parent
commit
6b293c0f2e
  1. 0
      src/assets/index.css
  2. 0
      src/assets/index.html
  3. 0
      src/assets/index.js
  4. 6
      src/server.rs

0
src/static/index.css → src/assets/index.css

0
src/static/index.html → src/assets/index.html

0
src/static/index.js → src/assets/index.js

6
src/server.rs

@ -37,9 +37,9 @@ macro_rules! status_code { @@ -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<()> {

Loading…
Cancel
Save