summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-12-17 11:56:07 -0500
committerluxagraf <sng@luxagraf.net>2023-12-17 11:56:07 -0500
commitdc4465b9f1cfb3e6865f2f87017523f0b1eee63e (patch)
tree845f6197edb9a6bb0f1dc864e44dc854c75d67ce
parentd627bd06951f6fe808b7409085bf774517bfbde3 (diff)
jrnl: fixed sitemap build
-rw-r--r--app/posts/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/build.py b/app/posts/build.py
index 89d7c54..0ba7e05 100644
--- a/app/posts/build.py
+++ b/app/posts/build.py
@@ -183,4 +183,4 @@ class BuildSitemap(BuildNew):
def build(self):
c = Client()
response = c.get('/sitemap.xml', HTTP_HOST='127.0.0.1')
- self.write_file('', response.content, 'xml', 'sitemap')
+ self.write_file('/', response.content, 'xml', 'sitemap')