Minor RSS behavior improvements

This commit is contained in:
Zed
2022-01-27 14:46:24 +01:00
parent eadf722284
commit f10519c41a
2 changed files with 8 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ template respRss*(rss, page) =
resp Http404, showError(page & info & "not found", cfg)
elif rss.cursor.len == 9 and rss.cursor == "suspended":
resp Http404, showError(getSuspended(rss.feed), cfg)
resp Http404, showError(getSuspended(@"name"), cfg)
let headers = {"Content-Type": "application/rss+xml; charset=utf-8",
"Min-Id": rss.cursor}