diff --git a/generateRoutes.js b/generateRoutes.js index 08e1a68..ccacb19 100644 --- a/generateRoutes.js +++ b/generateRoutes.js @@ -3,6 +3,8 @@ import path from "path"; import fs from "fs"; const indexPage = fs.readFileSync("./dist/index.html", "utf-8"); +const BASE_URL = "https://lnreader.github.io/"; +let siteMapContent = ""; for (const route of routes) { const routePage = indexPage .replace(/