Skip to content

Commit

Permalink
Merge pull request #670 from joola/feature/#669
Browse files Browse the repository at this point in the history
#669 do not override JOOLA_CONFIG_INTERFACES_WEBSERVER_PORT if set.
  • Loading branch information
itayw committed Feb 18, 2015
2 parents 8f2fb7e + a1362f8 commit a25ae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var
var config = exports;

/* istanbul ignore if */
if (process.env.PORT)
if (process.env.PORT && !process.env.JOOLA_CONFIG_INTERFACES_WEBSERVER_PORT)
process.env.JOOLA_CONFIG_INTERFACES_WEBSERVER_PORT = process.env.PORT;

config.overrideWithEnvironment = function () {
Expand Down

0 comments on commit a25ae36

Please sign in to comment.