From dc4465b9f1cfb3e6865f2f87017523f0b1eee63e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 17 Dec 2023 11:56:07 -0500 Subject: jrnl: fixed sitemap build --- app/posts/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-70-g09d2