sitemap testing

This commit is contained in:
wearrrrr 2024-09-20 10:42:35 -05:00
parent b3c04f1227
commit 237038cdea

View file

@ -3,7 +3,8 @@ import node from "@astrojs/node";
import sitemap from "@astrojs/sitemap"; import sitemap from "@astrojs/sitemap";
// Check if node is running in production mode // Check if node is running in production mode
const prodBuild = process.env.NODE_ENV === "production"; // const prodBuild = process.env.NODE_ENV === "production";
const prodBuild = true;
const site = prodBuild ? "https://aluu.xyz" : "http://localhost:3000"; const site = prodBuild ? "https://aluu.xyz" : "http://localhost:3000";
@ -24,6 +25,9 @@ export default defineConfig({
}, },
defaultLocale: "en", defaultLocale: "en",
}, },
customPages: [
"/game/*",
]
}), }),
], ],
output: "hybrid", output: "hybrid",