[#1505] Change "translation.json" path to absolute
This commit is contained in:
parent
5c79c7c2b1
commit
70e34c31d5
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ const fallbackLng = ['en-US'];
|
|||
const availableLanguages = ['en-US', 'es-419'];
|
||||
|
||||
const options = {
|
||||
loadPath: 'locales/{{lng}}/translations.json',
|
||||
loadPath: '/locales/{{lng}}/translations.json',
|
||||
requestOptions: { // used for fetch, can also be a function (payload) => ({ method: 'GET' })
|
||||
mode: 'no-cors'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue