From 1d26789a9730842cfe7a18c181c1b6d7168637b4 Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 4 Jan 2013 20:50:26 +0000 Subject: [PATCH] Restored deprecated express usage --- modules/web/web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');