fix: use relative path for i18n loading on GitHub Pages

- Change absolute path to relative path for i18n backend
- Fixes translation loading when app is served from subdirectory
This commit is contained in:
Stan
2025-09-06 13:11:56 +01:00
parent 606aebcf49
commit 2091aa0cca

View File

@@ -15,7 +15,7 @@ i18n
},
ns: ['app'],
backend: {
loadPath: '/i18n/{{ns}}/{{lng}}.json'
loadPath: './i18n/{{ns}}/{{lng}}.json'
},
detection: {
// configure detection options