Permalink
Browse files

added port switch for Joyent to server.js

  • Loading branch information...
1 parent bd779c6 commit 2d810260c34d28994bff639a8414a392b67bb745 @robrighter committed Jan 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
@@ -4,7 +4,7 @@ var connect = require('connect')
, express = require('express')
, sys = require('sys')
, io = require('Socket.IO-node')
- , port = 8081;
+ , port = (process.env.PORT || 8081);
//Setup Express
var server = express.createServer();

0 comments on commit 2d81026

Please sign in to comment.