From 66eff8f7bab803ce3fc1d3ed9c05adf58738f620 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 3 Dec 2024 02:43:01 +0100 Subject: [PATCH] feat: favicon!! --- src/api.rs | 1 + web/uppe.ico | Bin 0 -> 12862 bytes 2 files changed, 1 insertion(+) create mode 100644 web/uppe.ico diff --git a/src/api.rs b/src/api.rs index 0f14ff1..32db3f4 100644 --- a/src/api.rs +++ b/src/api.rs @@ -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); diff --git a/web/uppe.ico b/web/uppe.ico new file mode 100644 index 0000000000000000000000000000000000000000..ea89711d2d6a51a76d4cc1a5f20d0eb37093eb06 GIT binary patch literal 12862 zcmdU0SyL2O6mH809(_yYAt`5i-?!OefLTD60Fl9Hv?``ztO~}`XpF`v3J8LT8lque zUGhKpDgJ~!<{=ewX70?T>1LXl>7H?f8Sd$O&+?tS-*X#+I0nC|6ajxfC3uq{J|PH# zhc9Fi6Y$OFm-`V;2E2bjd1ojb7DS!pG=@t+AGvtA%2x&;z~%R*b3EpWP@>0VMA1cKQ5agL6rhNcNljc6_RXK#leoKJKK@? zv$2f9N$yJOR0?x%Tox|$b-L(x$DfX7G+J;GZ$ME*^%J$e%lP$fR^A{*YkktZWr;1{%gfQn!ypCw?(Nn!MHwfNdCH zIJc=sw>NRGqHY|;;PcwVCE3Vo=zpOQ5$}ZRd7*r5@H|_ zSN3N`EB?6JCIzeB1~=YK*stcYt;jCMuQQ@b@B7twR8?7o{k9E%Oi4EFuywiy1GzsL zfqY#5D(z{)Z#UZpQUim9PeKhlEutJa^$chGa$UXfX*bKVl@qt-!*T$R2!AF%ER&x0 z#)IjhrAOP#kG5B)w(ehfU^Qf=U;H-x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