mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 11:45:02 +01:00
remove old code
This commit is contained in:
parent
392bf67fc2
commit
19c48b7da1
2 changed files with 3 additions and 19 deletions
|
|
@ -17,3 +17,6 @@ clap = { version = "3.1.5", features = ["derive"] }
|
||||||
tokio = { version = "1.16.1", features = ["full"] }
|
tokio = { version = "1.16.1", features = ["full"] }
|
||||||
tracing = "0.1.30"
|
tracing = "0.1.30"
|
||||||
tracing-subscriber = { version = "0.3.8", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.8", features = ["env-filter"] }
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "fat"
|
||||||
|
|
@ -41,25 +41,6 @@ pub async fn dashboard(global_data: GlobalData) {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
//async fn get_index_html() -> impl IntoResponse {
|
|
||||||
// info!("Requesting index.html");
|
|
||||||
// Html(INDEX_HTML)
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//async fn get_script_js() -> Response {
|
|
||||||
// Response::builder()
|
|
||||||
// .header("content-type", "application/javascript")
|
|
||||||
// .body(boxed(Full::from(SCRIPT_JS)))
|
|
||||||
// .unwrap()
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//async fn get_style_css() -> Response {
|
|
||||||
// Response::builder()
|
|
||||||
// .header("content-type", "text/css")
|
|
||||||
// .body(boxed(Full::from(STYLE_CSS)))
|
|
||||||
// .unwrap()
|
|
||||||
//}
|
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct Data {
|
struct Data {
|
||||||
connections: Vec<Connection>,
|
connections: Vec<Connection>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue