diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 5ea93f9..ea398a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,7 +77,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(|_: windmark::context::ErrorContext| { + router.set_error_handler(|_| { windmark::Response::not_found(ERROR_HANDLER_RESPONSE) }); router.set_fix_path(true); |