Browse Source

#61

feature/061
みてるぞ 1 week ago
parent
commit
1b56176cac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frontend/scripts/generate-sitemap.js

+ 1
- 1
frontend/scripts/generate-sitemap.js View File

@@ -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


Loading…
Cancel
Save