Skip to content

Commit 70e34c3

Browse files
committed
[#1505] Change "translation.json" path to absolute
1 parent 5c79c7c commit 70e34c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fallbackLng = ['en-US'];
77
const availableLanguages = ['en-US', 'es-419'];
88

99
const options = {
10-
loadPath: 'locales/{{lng}}/translations.json',
10+
loadPath: '/locales/{{lng}}/translations.json',
1111
requestOptions: { // used for fetch, can also be a function (payload) => ({ method: 'GET' })
1212
mode: 'no-cors'
1313
},

0 commit comments

Comments
 (0)