Permalink
Browse files

Update the server script

Change-Id: I1b24dad0fb44d27afd49b27d4954e5f787d81df5
  • Loading branch information...
1 parent 6abbb8c commit 7d730957e2b2a48e610cee249a29602a2b20da31 @creationix creationix committed Mar 5, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 server/server.js
View
@@ -5,6 +5,5 @@ var Stack = require('stack'),
Http.createServer(Stack(
Creationix.log(),
-// require('wheat')(process.env.HOME + "/howtonode")
- require('wheat')(__dirname +"/..")
-)).listen(8080);
+ require('wheat')(process.env.JOYENT ? process.env.HOME + "/howtonode" : __dirname +"/..")
+)).listen(process.env.JOYENT ? 80 : 8080);

0 comments on commit 7d73095

Please sign in to comment.