chore: move src/assets out of src
This commit is contained in:
parent
b88381167b
commit
1fe391f9d9
4 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@ use tokio_util::io::{ReaderStream, StreamReader};
|
||||||
type Request = hyper::Request<Body>;
|
type Request = hyper::Request<Body>;
|
||||||
type Response = hyper::Response<Body>;
|
type Response = hyper::Response<Body>;
|
||||||
|
|
||||||
const INDEX_HTML: &str = include_str!("assets/index.html");
|
const INDEX_HTML: &str = include_str!("../assets/index.html");
|
||||||
const INDEX_CSS: &str = include_str!("assets/index.css");
|
const INDEX_CSS: &str = include_str!("../assets/index.css");
|
||||||
const INDEX_JS: &str = include_str!("assets/index.js");
|
const INDEX_JS: &str = include_str!("../assets/index.js");
|
||||||
const BUF_SIZE: usize = 1024 * 16;
|
const BUF_SIZE: usize = 1024 * 16;
|
||||||
|
|
||||||
macro_rules! status {
|
macro_rules! status {
|
||||||
|
|
Loading…
Reference in a new issue