rickyrauch / Balloons.IO

Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
http://balloons.io
2.36k stars 491 forks source link

Stop defaults in env.js overriding config.json values #100

Closed scollett closed 10 years ago

scollett commented 10 years ago

The settings session:secret, app:port and theme:name set in the config.json are never used because the defaults in env.js override the values. This fix allows for these values to be set with ENV variables or in config.json. (e.g. setting the port). ENV values still override config.json values for settings. Defaults are required in config.json.

cristiandouce commented 10 years ago

Thanks!