remove superfluous /upload handler

This commit is contained in:
Kai Michaelis 2019-02-22 16:30:07 +01:00
parent 89f4f43bb6
commit d4ae08d881
1 changed files with 0 additions and 10 deletions

View File

@ -498,16 +498,6 @@ fn manage() -> result::Result<Template, Custom<String>> {
Ok(Template::render("manage", context))
}
#[get("/upload")]
fn upload() -> result::Result<Template, Custom<String>> {
let context = templates::General {
version: env!("VERGEN_SEMVER").to_string(),
commit: env!("VERGEN_SHA_SHORT").to_string(),
};
Ok(Template::render("upload", context))
}
#[get("/")]
fn root() -> Template {
let context = templates::General {