File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ NUXT_APP_BASE_URL = /
2+ PRESET = ' static' # 'github-pages'
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ const currentDir = dirname(fileURLToPath(import.meta.url));
77//const base = process.env.NUXT_APP_BASE_URL || '/comforterpdocsnuxt/';
88
99console . log ( '>>> BASE_URL at build time:' , process . env . BASE_URL ) ;
10- console . log ( '>>> BASE_URL at build time:' , process . env . NUXT_APP_BASE_URL ) ;
10+ console . log ( '>>> NUXT_APP_BASE_URL at build time:' , process . env . NUXT_APP_BASE_URL ) ;
1111
1212
1313export default defineNuxtConfig ( {
1414 nitro : {
1515 //preset: 'github-pages',
1616 preset : process . env . PRESET ,
1717 prerender : {
18- failOnError : false , // Don’t exit build on missing docs/images
18+ failOnError : true , // Don’t exit build on missing docs/images
1919 } ,
2020 } ,
2121 app : {
You can’t perform that action at this time.
0 commit comments