feat: favicon!!
This commit is contained in:
parent
501b185437
commit
66eff8f7ba
2 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ pub async fn serve(config: Config, db: Database, addr: &str) -> std::io::Result<
|
|||
|
||||
let app = axum::Router::new()
|
||||
.route("/", axum::routing::get(|| async { Html(index) }))
|
||||
.route("/favicon.ico", axum::routing::get(|| async { include_bytes!("../web/uppe.ico") }))
|
||||
.route("/api/status", axum::routing::get(api_status))
|
||||
.route("/api/status/:service", axum::routing::get(api_status_service))
|
||||
.with_state(db);
|
||||
|
|
BIN
web/uppe.ico
Normal file
BIN
web/uppe.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in a new issue