From 1b56176cacd6d779d17e5b0fc92a8fb762c1bc3c Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sun, 15 Mar 2026 02:33:28 +0900 Subject: [PATCH] #61 --- frontend/scripts/generate-sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/generate-sitemap.js b/frontend/scripts/generate-sitemap.js index bf6c9fe..774f415 100644 --- a/frontend/scripts/generate-sitemap.js +++ b/frontend/scripts/generate-sitemap.js @@ -20,7 +20,7 @@ const fetchPosts = async tagName => (await axios.get (`${ API_BASE_URL }/posts`, match: 'all', limit: '20' }) } })).data.posts -const fetchTags = async () => (await axios.get (`${ API_BASE_URL }/tags`)).data +const fetchTags = async () => (await axios.get (`${ API_BASE_URL }/tags`)).data.tags const fetchTagNames = async () => (await fetchTags ()).map (tag => tag.name) const fetchWikiPages = async () => (await axios.get (`${ API_BASE_URL }/wiki`)).data