summaryrefslogtreecommitdiff
path: root/site/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-06-03 19:40:08 -0400
committerJules Laplace <jules@okfoc.us>2015-06-03 19:40:08 -0400
commit6b7b533629fae83172b1a2bf51a48d3cfff98f47 (patch)
treef588f812279cc6e9006d32af8ed08a723b723a0b /site/index.js
parenta617896215dabedced31d7ac1d96c02f57648c10 (diff)
suggest running on another port
Diffstat (limited to 'site/index.js')
-rw-r--r--site/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/index.js b/site/index.js
index d36778f..837fff9 100644
--- a/site/index.js
+++ b/site/index.js
@@ -77,6 +77,6 @@ var app = okcms.createApp({
}
}
-}).listen(1337);
+}).listen(process.env.PORT || 1337);
-console.log('Server listening at port 1337...');
+console.log('Server listening at port ' + process.env.PORT + '...');