This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

lockdown v0.0.2 - uses a more specific ENV var than PORT to fix confl…

…ict in deployment environment
  • Loading branch information...
lloyd committed Aug 18, 2012
1 parent 69832e1 commit 80480e1a480cc9f85a425eeee718353e914f0b6d
Showing with 7 additions and 1 deletion.
  1. +6 −0 lockdown.json
  2. +1 −1 scripts/lockdown
View
@@ -66,6 +66,9 @@
"convict": {
"0.0.6": "960495df513baf3e5c20b970268fd86ff1ac79b2"
},
+ "cookies": {
+ "0.1.7": "*"
+ },
"crypto-browserify": {
"0.1.1": "34343b512041a9c32ae7ec6a7f8ab4d06b418a0b"
},
@@ -155,6 +158,9 @@
"mysql": {
"0.9.5": "cc95e1c31d0653974d3fb3e9266ed466cd0f96b5"
},
+ "node-proxy": {
+ "0.5.2": "c22cc7ddf8c2af0bfa32fed30d3c533b216ef893"
+ },
"node-statsd": {
"0.0.2": "*"
},
View
@@ -161,7 +161,7 @@ var server = http.createServer(function (req, res) {
r.end();
});
-server.listen(process.env['PORT'] || 0, '127.0.0.1', function() {
+server.listen(process.env['LOCKDOWN_PORT'] || 0, '127.0.0.1', function() {
boundPort = server.address().port;
var child = exec('npm install', {

0 comments on commit 80480e1

Please sign in to comment.