aboutsummaryrefslogtreecommitdiff
path: root/src/modules/blog
diff options
context:
space:
mode:
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()
},