From 596e20e12351afe90c622c3884575a26136732d5 Mon Sep 17 00:00:00 2001 From: Randy Date: Thu, 25 Oct 2012 10:21:34 -0700 Subject: [PATCH 1/2] Add default port of process.env.PORT if port isnt specified in settings.json --- src/node/utils/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index dd34ac5e..3d7894d5 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -37,7 +37,7 @@ exports.ip = "0.0.0.0"; /** * The Port ep-lite should listen to */ -exports.port = 9001; +exports.port = process.env.PORT || 9001; /* * The Type of the database */ From 399080ad739646d54913c1bf1afbb438d9785c08 Mon Sep 17 00:00:00 2001 From: Randy Date: Thu, 25 Oct 2012 10:22:28 -0700 Subject: [PATCH 2/2] Add IIS config file --- src/web.config | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/web.config diff --git a/src/web.config b/src/web.config new file mode 100644 index 00000000..e057b919 --- /dev/null +++ b/src/web.config @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + +