aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-17 02:12:20 -0700
committerFuwn <[email protected]>2023-05-17 02:12:20 -0700
commit0bc4ac8ba3a16aed491c3260d51406685cde2408 (patch)
tree164df292848c8ba9197ffb1607a7fa1ddcad37ed /src/main.rs
parentchore(tasks): simplify formatter (diff)
downloadlocus-0bc4ac8ba3a16aed491c3260d51406685cde2408.tar.xz
locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.zip
deps(windmark): bump to 0.3.9
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 19c0cd7..9d623f3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -72,12 +72,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
dotenv::dotenv().ok();
let mut time_mount = Instant::now();
- let mut router = windmark::Router::new();
+ let mut router = windmark::router::Router::new();
router.set_private_key_file(".locus/locus_private.pem");
router.set_certificate_file(".locus/locus_public.pem");
router.set_error_handler(|_| {
- windmark::Response::not_found(ERROR_HANDLER_RESPONSE)
+ windmark::response::Response::not_found(ERROR_HANDLER_RESPONSE)
});
router.set_fix_path(true);