Compare commits

..

2 Commits

Author SHA1 Message Date
ddd4535707 fix: 修复客户端无法正常获取环境变量的问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 6m46s
- 在nuxt.config.ts中禁用prerender

Issue: Fixes #33
2025-09-27 14:20:47 +08:00
67c732649f fix: 修正客户端无法正常获取环境变量问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m43s
- 在nuxt.config.ts中禁用prerender
2025-09-27 14:15:54 +08:00

View File

@ -69,11 +69,11 @@ export default defineNuxtConfig({
target: 'esnext',
},
},
prerender: {
crawlLinks: false,
routes: ['/'],
ignore: ['/hi'],
},
// prerender: {
// crawlLinks: false,
// routes: ['/'],
// ignore: ['/hi'],
// },
},
vite: {