3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

Updated web module for Express 3.0.x

This commit is contained in:
Daniel Evans 2013-01-04 21:26:11 +00:00
parent 1d26789a97
commit 2e9535bba1

View File

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