diff options
| author | Fuwn <[email protected]> | 2022-04-03 02:49:00 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-03 02:49:00 -0700 |
| commit | 2f170129067aaeb59062437fc64ee062fcd669a4 (patch) | |
| tree | ab15c733d0c08b573c49035109984a9ed0f8b2ec | |
| parent | fix(footer): copyright date (diff) | |
| download | locus-2f170129067aaeb59062437fc64ee062fcd669a4.tar.xz locus-2f170129067aaeb59062437fc64ee062fcd669a4.zip | |
fix: for windmark 0.1.9
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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", |