Skip to content

Commit 70223d9

Browse files
committed
next try
1 parent f665b36 commit 70223d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

nuxt.config.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
2-
const isGithubPages =
3-
process.env.GITHUB_PAGES === "true" || process.env.GITHUB_ACTIONS === "true";
2+
// In production (including GitHub Pages), serve the app from the repo subfolder.
43
const appBaseURL =
5-
process.env.NUXT_APP_BASE_URL || (isGithubPages ? "/german-tech-podcast-survey/" : "/");
4+
process.env.NUXT_APP_BASE_URL ||
5+
(process.env.NODE_ENV === "production"
6+
? "/german-tech-podcast-survey/"
7+
: "/");
68

79
export default defineNuxtConfig({
810
compatibilityDate: "2025-07-15",

0 commit comments

Comments
 (0)