diff --git a/src/server/rest.rs b/src/server/rest.rs index 95f73191..14e78d60 100644 --- a/src/server/rest.rs +++ b/src/server/rest.rs @@ -323,7 +323,7 @@ fn get_index(username: Option, token: Option, template: &Handleb if let Some(query_str) = parts.uri.query() { for (k, v) in form_urlencoded::parse(query_str.as_bytes()).into_owned() { - if k == "debug" && v == "1" || v == "true" { + if k == "debug" && v != "0" && v != "false" { debug = true; } }