Skip to content

Commit

Permalink
Fixed client loading
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwf committed May 17, 2022
1 parent d079fd7 commit 216a151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/madoc-ts/src/middleware/i18n/i18next.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function createBackend(slug: string, jwt?: string, languages?: stri
ns: ['madoc', 'capture-models'],
defaultNS: 'madoc',
supportedLngs: languages,
saveMissing: true,
saveMissing: process.env.NODE_ENV !== 'production',
keySeparator: false,
detection: {
order: ['querystring', /* 'cookie', */ 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],
Expand Down

0 comments on commit 216a151

Please sign in to comment.