We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed3942 commit 9cd52f2Copy full SHA for 9cd52f2
src/main.rs
@@ -173,13 +173,6 @@ fn index() -> Template {
173
render_index(ENGLISH.into())
174
}
175
176
-#[get("/favicon.ico", rank = 0)]
177
-fn favicon() -> Option<Cached<NamedFile>> {
178
- NamedFile::open("static/images/favicon.ico")
179
- .ok()
180
- .map(|file| file.cached(vec![CacheDirective::MaxAge(3600)]))
181
-}
182
-
183
#[get("/<locale>", rank = 3)]
184
fn index_locale(locale: SupportedLocale) -> Template {
185
render_index(locale.0)
@@ -493,7 +486,6 @@ fn main() {
493
486
sponsors,
494
487
subject,
495
488
files,
496
- favicon,
497
489
logos,
498
490
components,
499
491
index_locale,
0 commit comments