mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix DEBUG environment variable check
This commit is contained in:
parent
09f6dcbde1
commit
f010235ff2
3 changed files with 6 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ export const TAPi18n = {
|
|||
cleanCode: true,
|
||||
// Show translations debug messages only when DEBUG=true
|
||||
// OLD: debug: Meteor.isDevelopment,
|
||||
debug: process.env.DEBUG,
|
||||
debug: process.env.DEBUG === 'true',
|
||||
supportedLngs: Object.values(languages).map(({ tag }) => tag),
|
||||
ns: DEFAULT_NAMESPACE,
|
||||
defaultNs: DEFAULT_NAMESPACE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue