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