Closed ptdev closed 1 week ago
latest nuxt latest nuxt-i18n
Inspect source script tag at bottom of page where NUXT variable is defined
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-24tx34?file=package.json
Hi,
When using nuxt-i18n, the module appears to resolve the full path for the language files and add it on the " NUXT " variable.
This leaks the full server path where the app is installed.
Some screenshots from the stackblitz and my own project
Environment
latest nuxt latest nuxt-i18n
Reproduction
Inspect source script tag at bottom of page where NUXT variable is defined
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-24tx34?file=package.json
Describe the bug
Hi,
When using nuxt-i18n, the module appears to resolve the full path for the language files and add it on the " NUXT " variable.
This leaks the full server path where the app is installed.
Additional context
Some screenshots from the stackblitz and my own project
Logs