update sitemap
This commit is contained in:
parent
2808d17108
commit
d0d2773871
|
@ -277,7 +277,7 @@ async function uploadDictionaryToStorage(dictionary: T.Dictionary) {
|
||||||
|
|
||||||
function makeSitemap(dictionary: T.Dictionary): string {
|
function makeSitemap(dictionary: T.Dictionary): string {
|
||||||
const pages = [
|
const pages = [
|
||||||
...["", "about", "settings", "account", "phrase-builder"],
|
...["", "about", "settings", "account", "phrase-builder", "new-entries"],
|
||||||
...dictionary.entries.map((x) => `word?id=${x.ts}`),
|
...dictionary.entries.map((x) => `word?id=${x.ts}`),
|
||||||
];
|
];
|
||||||
return `<?xml version="1.0" encoding="UTF-8"?>
|
return `<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
Loading…
Reference in New Issue