Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Server listen port can now be defined in environment variables (usefu…

…l for Heroku, CloudBees, cloud9), fallback to 8080
  • Loading branch information...
commit 8502bf832c57a2af6ee3b3d6c04222c4f873d511 1 parent fef6185
@danielkutik danielkutik authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  site/server.js
3  site/server.js
@@ -2,7 +2,8 @@ var app = require('express')();
var server = require('http').createServer(app);
var webRTC = require('').listen(server);
+var port = process.env.PORT || 8080;
Please sign in to comment.
Something went wrong with that request. Please try again.