Skip to content
Myr

Added DEBUG=express:application support

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent f1aa57c · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:lib/application.js+3 added
10 unmodified lines
11var connect = require('connect')12 , Router = require('./router')13 , methods = Router.methods.concat('del', 'all')14 , middleware = require('./middleware')15 , debug = require('debug')('express:application')16 , View = require('./view')17 , url = require('url')18 , utils = connect.utils19 , path = require('path')
52 unmodified lines
72 var self = this;7374 // default settings75 this.set('env', process.env.NODE_ENV || 'development');76 debug('booting in %s mode', this.get('env'));7778 // implicit middleware79 this.use(connect.query());80 this.use(middleware.init(this));
95 unmodified lines
176 });177 };178 }179180 debug('use %s %s', route, fn.name || 'unnamed');181 connect.proto.use.call(this, route, fn);182183 // mounted an app184 if (app) {
348 unmodified lines