aboutsummaryrefslogtreecommitdiff
path: root/blog_experiment/blog/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'blog_experiment/blog/__init__.py')
-rw-r--r--blog_experiment/blog/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/blog_experiment/blog/__init__.py b/blog_experiment/blog/__init__.py
index 4b1e0ba5..594d1a77 100644
--- a/blog_experiment/blog/__init__.py
+++ b/blog_experiment/blog/__init__.py
@@ -13,4 +13,6 @@ def handler(request: bicephalus.Request) -> bicephalus.Response:
blog_file = pathlib.Path("content") / (request.path[1:-1] + ".gmi")
if blog_file.exists():
return blog_pages.EntryPage(request, blog_file).response()
+ if request.path == "/feed/" and request.proto == bicephalus.Proto.HTTP:
+ return blog_pages.Root(request).feed()
return page.NotFound(request).response()