diff --git a/modules/web/web.js b/modules/web/web.js index 28620b6..3f3b897 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.createServer(); + var app = express(); app.use(express.static(pub)); app.set('view engine', 'jade');