Commit 66c38200 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Fix RSS feed content-type

parent 42f9240d
......@@ -83,7 +83,8 @@ let blog_asset_loader _root path _request =
| None -> Dream.empty `Not_Found
| Some asset -> Dream.respond asset
let feed_loader _root _path _request = Dream.respond Feed.generate
let feed_loader _root _path _request =
Dream.respond ~headers:["content-type","application/rss+xml"] Feed.generate
let page path =
match read_content (path ^ ".md") with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment