mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
Merge pull request #102 from danharibo/weboverhaul
Restored deprecated express usage for testing
This commit is contained in:
commit
98fbad6af5
@ -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