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:
parent
f91fc99d35
commit
1d26789a97
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user