Permalink
Browse files

Update to comply with latest connect api

  • Loading branch information...
1 parent f4c365d commit 1ef520f91a8b79fa307f12e79698c5cb94cf6b61 @mape committed May 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 server.js
View
@@ -51,7 +51,7 @@ app.configure(function() {
app.configure(function() {
app.use(connect.logger({ format: ':req[x-real-ip]\t:status\t:method\t:url\t' }));
app.use(assets);
- app.use(connect.staticProvider(__dirname + '/public'));
+ app.use(connect.static(__dirname + '/public'));
});
app.dynamicHelpers({
@@ -73,4 +73,4 @@ new Wargames(app, {
, ircUserName: 'MrWarGames'
, ircRealName: 'MrWarGames'
, cachePath: '/tmp/cache.json'
-});
+});

0 comments on commit 1ef520f

Please sign in to comment.