From 9235be2eedc2c4f3a78cb704b0a107f33607e530 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 Apr 2023 01:53:22 -0700 Subject: feat: native async reqwest calls --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 505bda4..bd89baa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,7 +98,7 @@ async fn main() -> Result<(), Box> { 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::context::ErrorContext| { windmark::Response::not_found(ERROR_HANDLER_RESPONSE) }); router.set_fix_path(true); -- cgit v1.2.3