mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 12:12:35 +01:00
Merge pull request #103 from danharibo/weboverhaul
Updated web module for Express 3.0.x
This commit is contained in:
commit
46979dd32c
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user