chore: remove unused favicon.ico
This commit is contained in:
parent
c0d6e588f6
commit
5959f625b5
2 changed files with 0 additions and 11 deletions
|
|
@ -32,7 +32,6 @@ pub(super) fn router() -> axum::Router<AppState> {
|
||||||
"/components/searchable-select.js",
|
"/components/searchable-select.js",
|
||||||
get(searchable_select_js),
|
get(searchable_select_js),
|
||||||
)
|
)
|
||||||
.route("/favicon.ico", get(favicon))
|
|
||||||
.route("/favicon-light.svg", get(favicon_light))
|
.route("/favicon-light.svg", get(favicon_light))
|
||||||
.route("/favicon-dark.svg", get(favicon_dark))
|
.route("/favicon-dark.svg", get(favicon_dark))
|
||||||
}
|
}
|
||||||
|
|
@ -81,16 +80,6 @@ async fn searchable_select_js() -> impl IntoResponse {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn favicon() -> impl IntoResponse {
|
|
||||||
(
|
|
||||||
[
|
|
||||||
("content-type", "image/x-icon"),
|
|
||||||
("cache-control", "public, max-age=604800"),
|
|
||||||
],
|
|
||||||
include_bytes!("../../../../static/favicon.ico").as_ref(),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
async fn favicon_light() -> impl IntoResponse {
|
async fn favicon_light() -> impl IntoResponse {
|
||||||
(
|
(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB |
Loading…
Reference in a new issue