Skip to content

Commit

Permalink
Trying to get server working with nodejitsu
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ice committed Apr 30, 2012
1 parent 429ce27 commit d8f8b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/server.js
Expand Up @@ -4,7 +4,7 @@ var express = require("express"),
fs = require("fs"),
app = express.createServer(),
port = (process.env.NODE_ENV === "production") ? 80 : 8080,
root_dir = __dirname.replace('/bin','');
root_dir = process.cwd().replace('/bin','');

app.use("/javascript", express.static(root_dir + "/public/javascript"));
app.use("/stylesheets", express.static(root_dir + "/public/stylesheets"));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"node": "0.6.x"
},
"dependencies": {
"express": "2.5.x",
"express": "2.2.x",
"grunt": "0.3.x",
"snockets": "1.3.x",
"less": "1.3.x",
Expand Down

0 comments on commit d8f8b65

Please sign in to comment.