Skip to content

Commit

Permalink
testing connect update stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyrushforth committed Mar 19, 2011
1 parent 59e4f43 commit 686f4c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server.js
Expand Up @@ -33,9 +33,8 @@ Mongoose.SchemaTypes.Array.prototype.$conditionalHandlers.$within = function (va
};

// Create Server
var server = Connect.createServer(
// js lint can suck it, have no choice here.
Connect.staticProvider(__dirname + '/pub')
var server = Connect(
connect.static(__dirname+'/pub')
);

// setup Mine Model
Expand Down

0 comments on commit 686f4c6

Please sign in to comment.