remove superfluous /upload handler
This commit is contained in:
parent
89f4f43bb6
commit
d4ae08d881
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue