sitemap testing
This commit is contained in:
parent
b3c04f1227
commit
237038cdea
1 changed files with 5 additions and 1 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue