diff --git a/modules/web/web.js b/modules/web/web.js index 3f3b897..28620b6 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -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');