Added correct url path of the loopback server.

This commit is contained in:
Marco Rodolfi
2023-01-24 15:42:41 +01:00
parent 1bb6b9e3db
commit 4f111948be
+3 -3
View File
@@ -6,7 +6,7 @@ i18next
.use(Backend)
.use(initReactI18next)
.init({
backend:{
backend: {
// path where resources get loaded from, or a function
// returning a path:
// function(lngs, namespaces) { return customPath; }
@@ -31,7 +31,7 @@ i18next
// }
allowMultiLoading: false, // set loadPath: '/locales/resources.json?lng={{lng}}&ns={{ns}}' to adapt to multiLoading
reloadInterval: false // can be used to reload resources in a specific interval (useful in server environments)
reloadInterval: false, // can be used to reload resources in a specific interval (useful in server environments)
},
debug: true,
fallbackLng: 'en',
@@ -40,7 +40,7 @@ i18next
interpolation: {
escapeValue: false,
},
load: 'languageOnly'
load: 'languageOnly',
});
export default i18next;