aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-03 02:49:00 -0700
committerFuwn <[email protected]>2022-04-03 02:49:00 -0700
commit2f170129067aaeb59062437fc64ee062fcd669a4 (patch)
treeab15c733d0c08b573c49035109984a9ed0f8b2ec
parentfix(footer): copyright date (diff)
downloadlocus-2f170129067aaeb59062437fc64ee062fcd669a4.tar.xz
locus-2f170129067aaeb59062437fc64ee062fcd669a4.zip
fix: for windmark 0.1.9
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0a2256b..d22e43d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,7 +22,7 @@ codegen-units = 1
[dependencies]
# Gemini
-windmark = { version = "0.1.7", features = ["logger", "auto-deduce-mime"] }
+windmark = { version = "0.1.9", features = ["logger", "auto-deduce-mime"] }
# Loggging
log = "0.4.16"
diff --git a/src/main.rs b/src/main.rs
index ff9fbbf..1bcc572 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -147,7 +147,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
);
time_mount = Instant::now();
- router.attach(modules::multi_blog);
+ router.attach_stateless(modules::multi_blog);
info!(
"blog mounts took {}ms",