We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f665b36 commit 70223d9Copy full SHA for 70223d9
nuxt.config.ts
@@ -1,8 +1,10 @@
1
// https://nuxt.com/docs/api/configuration/nuxt-config
2
-const isGithubPages =
3
- process.env.GITHUB_PAGES === "true" || process.env.GITHUB_ACTIONS === "true";
+// In production (including GitHub Pages), serve the app from the repo subfolder.
4
const appBaseURL =
5
- process.env.NUXT_APP_BASE_URL || (isGithubPages ? "/german-tech-podcast-survey/" : "/");
+ process.env.NUXT_APP_BASE_URL ||
+ (process.env.NODE_ENV === "production"
6
+ ? "/german-tech-podcast-survey/"
7
+ : "/");
8
9
export default defineNuxtConfig({
10
compatibilityDate: "2025-07-15",
0 commit comments