Skip to content
Snippets Groups Projects
Commit d1aaa95d authored by Steve Battle's avatar Steve Battle
Browse files

port

parent 49a2bf3f
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
// see openshift blog
// https://blog.openshift.com/run-your-nodejs-projects-on-openshift-in-two-simple-steps/
// use PORT environment variable or default 8080
console.log("PORT="+process.env.PORT);
console.log("OPENSHIFT_NODEJS_PORT="+process.env.OPENSHIFT_NODEJS_PORT);
var port = process.env.OPENSHIFT_NODEJS_PORT || 8080
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment