fix build

This commit is contained in:
Bastian Ike
2023-04-14 16:44:22 +02:00
committed by Bastian
parent 9625510467
commit 24a295cb8d
4 changed files with 8 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ var createStaticFiles = function () { return __awaiter(void 0, void 0, void 0, f
lastmod: "now",
changefreq: "weekly",
};
sitemap.add("".concat(config_1.publicUrl, "/index.html"), sitemapOptions);
sitemap.add("".concat(config_1.publicUrl, "index.html"), sitemapOptions);
radar.items.forEach(function (item) {
(0, fs_1.copyFileSync)("build/index.html", "build/".concat(item.quadrant, "/").concat(item.name, ".html"));
sitemap.add("".concat(config_1.publicUrl).concat(item.quadrant, "/").concat(item.name, ".html"), sitemapOptions);