diff options
| author | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
| commit | 0bc4ac8ba3a16aed491c3260d51406685cde2408 (patch) | |
| tree | 164df292848c8ba9197ffb1607a7fa1ddcad37ed /src/modules/blog/module.rs | |
| parent | chore(tasks): simplify formatter (diff) | |
| download | locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.tar.xz locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.zip | |
deps(windmark): bump to 0.3.9
Diffstat (limited to 'src/modules/blog/module.rs')
| -rw-r--r-- | src/modules/blog/module.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/blog/module.rs b/src/modules/blog/module.rs index aad110a..140d918 100644 --- a/src/modules/blog/module.rs +++ b/src/modules/blog/module.rs @@ -30,7 +30,7 @@ use crate::{ }; #[allow(clippy::too_many_lines)] -pub fn module(router: &mut windmark::Router) { +pub fn module(router: &mut windmark::router::Router) { let paths = read_dir("content/blogs").unwrap(); let mut blogs: HashMap<String, HashMap<_, _>> = HashMap::new(); @@ -294,7 +294,7 @@ pub fn module(router: &mut windmark::Router) { &format!("/blog/{fixed_blog_name}.xml"), &format!("Really Simple Syndication for the {name} blog"), move |_| { - windmark::Response::success(xml.to_string()) + windmark::response::Response::success(xml.to_string()) .with_mime("text/rss+xml") .clone() }, |