aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-03-30 20:20:27 -0700
committerFuwn <[email protected]>2023-03-30 20:20:27 -0700
commit9fc83f8d4fa360a2eb9812880e1db0fba6d4bad8 (patch)
treea9f566fb606de56334f4be9390d48ad8912bd5e3 /src/main.rs
parentfeat(translation): add translation header (diff)
downloadlocus-9fc83f8d4fa360a2eb9812880e1db0fba6d4bad8.tar.xz
locus-9fc83f8d4fa360a2eb9812880e1db0fba6d4bad8.zip
deps(windmark): bump 0.2.1 -> 0.2.2
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 38109cf..793a651 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -99,7 +99,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
router.set_private_key_file(".locus/locus_private.pem");
router.set_certificate_file(".locus/locus_public.pem");
router.set_error_handler(Box::new(|_| {
- windmark::Response::NotFound(ERROR_HANDLER_RESPONSE.into())
+ windmark::Response::not_found(ERROR_HANDLER_RESPONSE)
}));
router.set_fix_path(true);