rm teachers from sitemap (now they in pages)

This commit is contained in:
tmshv committed 2020-02-25 04:36:19 +03:00
1 parent fdac9d9ff8
commit 893b5b9ccd
1 file changed
-10
-10
View File
@@ -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))