[#1505] Change "translation.json" path to absolute

This commit is contained in:
Cassie Tarakajian 2020-07-20 14:35:34 -04:00
parent 5c79c7c2b1
commit 70e34c31d5

View file

@ -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'
},