Skip to content
Myr

add "x-powered-by" setting

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 568e0d2 · Browse files · 2 files+2 added−1 removed
This commit

State

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

Diff stats

2 files+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:lib/application.js+1 added
49 unmodified lines
50app.defaultConfiguration = function(){51 var self = this;5253 // default settings54 this.enable('x-powered-by');55 this.set('env', process.env.NODE_ENV || 'development');56 debug('booting in %s mode', this.get('env'));5758 // implicit middleware
476 unmodified lines
modified:lib/middleware.js+1 added-1 removed