Merge pull request #103 from danharibo/weboverhaul

Updated web module for Express 3.0.x
This commit is contained in:
Luke Slater 2013-01-04 13:26:54 -08:00
commit 46979dd32c

View File

@ -3,7 +3,7 @@ var express = require('express'),
var webInterface = function(dbot) { var webInterface = function(dbot) {
var pub = 'public'; var pub = 'public';
var app = express.createServer(); var app = express();
app.use(express.static(pub)); app.use(express.static(pub));
app.set('view engine', 'jade'); app.set('view engine', 'jade');