Update crates and optimize parameters

This commit is contained in:
spikecodes 2021-11-14 18:51:36 -08:00
parent 0f7ba3c61d
commit 34ea679519
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
6 changed files with 27 additions and 27 deletions

View file

@ -611,7 +611,7 @@ pub async fn error(req: Request<Body>, msg: String) -> Result<Response<Body>, St
let body = ErrorTemplate {
msg,
prefs: Preferences::new(req),
url: url,
url,
}
.render()
.unwrap_or_default();