mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-18 15:18:04 +00:00
Logger was being ignored!
This commit is contained in:
parent
9cdfe7bd16
commit
ce2a18b695
@ -124,7 +124,7 @@ app.connect = function (callback) {
|
||||
logger = process.env.JSBIN_LOGGER || app.set('server logger') || 'tiny';
|
||||
|
||||
if (logger !== 'none') {
|
||||
app.use(express.logger());
|
||||
app.use(express.logger(logger));
|
||||
}
|
||||
|
||||
app.use(mount, express.static(path.join(app.set('root'), 'public')));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user