rm teachers from sitemap (now they in pages)
This commit is contained in:
1 parent
fdac9d9ff8
commit
893b5b9ccd
1 file changed
-10
@@ -41,15 +41,6 @@ async function getAlbumsUrls() {
|
||||
}))
|
||||
}
|
||||
|
||||
async function getTeacherUrls() {
|
||||
const res = await api.get('/api/persons/urls')
|
||||
|
||||
return res.data.items.map(url => ({
|
||||
changefreq: 'monthly',
|
||||
url,
|
||||
}))
|
||||
}
|
||||
|
||||
async function getArticleUrls() {
|
||||
const res = await api.get('/api/articles/urls')
|
||||
|
||||
@@ -64,7 +55,6 @@ async function getArticleUrls() {
|
||||
getMenuUrls(),
|
||||
getPageUrls(),
|
||||
getAlbumsUrls(),
|
||||
getTeacherUrls(),
|
||||
getArticleUrls(),
|
||||
])
|
||||
urls = urls.reduce((urls, i) => urls.concat(i))
|
||||
|
||||
Reference in new issue
Block a user