From 5afba4674312bbc59aa221862ff96092cf858333 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Fri, 9 Dec 2022 17:32:59 -0500 Subject: [PATCH] use black favicon for /admin --- src/api/web.rs | 1 + src/static/images/vaultwarden-favicon.png | Bin 0 -> 1615 bytes src/static/templates/404.hbs | 2 +- src/static/templates/admin/base.hbs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 src/static/images/vaultwarden-favicon.png diff --git a/src/api/web.rs b/src/api/web.rs index a7640cd9..72bb66d0 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -101,6 +101,7 @@ pub fn static_files(filename: String) -> Result<(ContentType, &'static [u8]), Er "error-x.svg" => Ok((ContentType::SVG, include_bytes!("../static/images/error-x.svg"))), "hibp.png" => Ok((ContentType::PNG, include_bytes!("../static/images/hibp.png"))), "vaultwarden-icon.png" => Ok((ContentType::PNG, include_bytes!("../static/images/vaultwarden-icon.png"))), + "vaultwarden-favicon.png" => Ok((ContentType::PNG, include_bytes!("../static/images/vaultwarden-favicon.png"))), "bootstrap.css" => Ok((ContentType::CSS, include_bytes!("../static/scripts/bootstrap.css"))), "bootstrap-native.js" => Ok((ContentType::JavaScript, include_bytes!("../static/scripts/bootstrap-native.js"))), "jdenticon.js" => Ok((ContentType::JavaScript, include_bytes!("../static/scripts/jdenticon.js"))), diff --git a/src/static/images/vaultwarden-favicon.png b/src/static/images/vaultwarden-favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..bb0e169a1e008dc0e41548c87a8b83c7fbdb6488 GIT binary patch literal 1615 zcmV-V2C(^wP)uwr$(CZQHhO+qQl4W^LQ4`d-rAwb{B_J&dQm^vNmw zt4<+{`SITrP+BDXQi~)IJlptQXa~VFpN*HATzO^v$N0~JrUe(!qGd4qPm{0VYniq` zgZ-uj63|-9#C_fpc??b;v;*ug=nQyF>PkETBcnLoDych;;76c+sk^C?k(O zcBCjDhRF`m2r+kg9%{7wg##t;;R4|Dt~4B2KR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