3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

Restored deprecated express usage

This commit is contained in:
Daniel Evans 2013-01-04 20:50:26 +00:00
parent f91fc99d35
commit 1d26789a97

View File

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