chore: add version.json

This commit is contained in:
AnotiaWang
2025-02-15 09:37:43 +08:00
parent c9cf611cd6
commit 0288396b71
2 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,10 @@ export default defineNuxtConfig({
'@nuxtjs/i18n',
],
routeRules: {
'/version.json': { cors: true },
},
i18n: {
vueI18n: './i18n.config.ts',
strategy: 'no_prefix',