HackMD/lib/config
Sheogorath 10a81e7db2
Fix logical error in legacy config expression
We should check for an undefined and not just for a logical true or
false.

Example: When `usecdn` was set to false it was impossible to overwrite
the new config value because the if statement becomes false.

Thanks @davidmehren for pointing me to this issue.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-26 20:49:37 +02:00
..
default.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
defaultSSL.js Rename forgotten values 2018-03-26 20:15:45 +02:00
dockerSecret.js Fix not passing app key correctly in dropbox config 2018-01-19 00:25:08 +08:00
enum.js refactor(config.js): Extract config file 2017-05-08 19:29:07 +08:00
environment.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
index.js Fix logical error in legacy config expression 2018-03-26 20:49:37 +02:00
oldDefault.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
oldEnvironment.js fix(config): ssl environment configs not parse properly 2017-05-08 20:41:38 +08:00
utils.js Add helper function to fix number problems 2018-03-16 20:37:59 +01:00