Skip to content

Commit 465a5e8

Browse files
committed
Fix base URL configuration for custom domain
1 parent 0d47ff9 commit 465a5e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# This step runs your "generate" script: "nuxt prepare && nuxt generate www"
3636
# This command is responsible for generating files into 'www/.output/public'
3737
env:
38-
NUXT_APP_BASE_URL: / # Setting the BASE_URL environment variable for Nuxt
38+
NUXT_APP_BASE_URL: "/" # Setting the BASE_URL environment variable for Nuxt
3939
run: pnpm run generate
4040

4141
- name: Deploy to GitHub Pages

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const currentDir = dirname(fileURLToPath(import.meta.url));
1313
export default defineNuxtConfig({
1414
nitro: {
1515
//preset: 'github-pages',
16-
preset: process.env.PRESET,
16+
//preset: process.env.PRESET,
1717
prerender: {
1818
failOnError: true, // Don’t exit build on missing docs/images
1919
},

0 commit comments

Comments
 (0)