diff --git a/nuxt.config.ts b/nuxt.config.ts index cb9f56a..f9d347a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -8,6 +8,10 @@ export default defineNuxtConfig({ '@nuxtjs/i18n', ], + routeRules: { + '/version.json': { cors: true }, + }, + i18n: { vueI18n: './i18n.config.ts', strategy: 'no_prefix', diff --git a/public/version.json b/public/version.json new file mode 100644 index 0000000..688e939 --- /dev/null +++ b/public/version.json @@ -0,0 +1,3 @@ +{ + "version": "1.0.0" +} \ No newline at end of file