aboutsummaryrefslogtreecommitdiff
path: root/src/modules/blog
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/modules/blog
parentchore(tasks): simplify formatter (diff)
downloadlocus-0bc4ac8ba3a16aed491c3260d51406685cde2408.tar.xz
locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.zip
deps(windmark): bump to 0.3.9
Diffstat (limited to 'src/modules/blog')
-rw-r--r--src/modules/blog/module.rs4
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()
},