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 98c1649 commit 05bc26cCopy full SHA for 05bc26c
src/main.rs
@@ -97,6 +97,11 @@ fn index() -> Template {
97
Template::render(page, &context)
98
}
99
100
+#[get("/components/<_file..>", rank = 1)]
101
+fn components(_file: PathBuf) -> Template {
102
+ not_found()
103
+}
104
+
105
#[get("/logos/<file..>", rank = 1)]
106
fn logos(file: PathBuf) -> Option<NamedFile> {
107
NamedFile::open(Path::new("static/logos").join(file)).ok()
@@ -299,6 +304,7 @@ fn main() {
299
304
subject,
300
305
files,
301
306
logos,
307
+ components,
302
308
redirect,
303
309
redirect_en_us,
310
redirect_locale
0 commit comments