diff options
author | Wu Cheng-Han | 2016-10-23 22:27:02 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-23 22:27:02 +0800 |
commit | d37321e28de0445322055ef20306d838b02a6f87 (patch) | |
tree | 4dc2337cef49e7de30a371be9e410304eab9f7b4 /lib | |
parent | 0aa306685d164c82dd7275534564849017da39b6 (diff) |
Change use cdn config option default to be true
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config.js b/lib/config.js index b781c82b..0aa154bc 100644 --- a/lib/config.js +++ b/lib/config.js @@ -17,7 +17,7 @@ var protocolusessl = (usessl === true && typeof process.env.HMD_PROTOCOL_USESSL ? true : (process.env.HMD_PROTOCOL_USESSL ? (process.env.HMD_PROTOCOL_USESSL === 'true') : !!config.protocolusessl); var urladdport = process.env.HMD_URL_ADDPORT ? (process.env.HMD_URL_ADDPORT === 'true') : !!config.urladdport; -var usecdn = process.env.HMD_USECDN ? (process.env.HMD_USECDN === 'true') : !!config.usecdn; +var usecdn = process.env.HMD_USECDN ? (process.env.HMD_USECDN === 'true') : !!!config.usecdn; // db var db = config.db || { |