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