Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trying to get nodejitsu working

  • Loading branch information...
commit fd8031d9039ff111a02d75a88bb718b794fc46f5 1 parent 048b9c9
@rmurphey rmurphey authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  bin/server
  2. +1 −1  package.json
  3. +2 −2 server/server.js
View
2  bin/server
@@ -1,3 +1,3 @@
server = require('../server/server.js');
-server({ port : 80, baseDir : './build/' });
+server({ port : 8080, baseDir : __dirname + '/../build/' });
View
2  package.json
@@ -2,7 +2,7 @@
"author": "Rebecca Murphey <rmurphey@gmail.com> (http://rmurphey.com)",
"name": "srchr-demo",
"description": "A demo app showing app structuring techniques",
- "version": "0.0.0-3",
+ "version": "0.0.0-7",
"homepage": "http://rmurphey.com",
"license": "MIT",
"repository": {
View
4 server/server.js
@@ -70,6 +70,6 @@ module.exports = function(opts) {
}
// Actually listen
- site.listen(opts.port);
- console.log("Serving at http://localhost:" + opts.port);
+ site.listen(opts.port || null);
+ console.log("Serving at http://localhost:" + (opts.port || ''));
};
Please sign in to comment.
Something went wrong with that request. Please try again.