From 2e9535bba11975b0e818303b7c0b397ebd80d95b Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 4 Jan 2013 21:26:11 +0000 Subject: [PATCH] Updated web module for Express 3.0.x --- 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 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');