Skip to content

Commit

Permalink
refactor(response): set x-powered-by to AdonisJs instead of Adonis
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 23, 2016
1 parent d4c5ea6 commit 1fb8eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Response {
this.request = request
this.response = response
if (configInstance.get('app.http.setPoweredBy', true)) {
nodeRes.header(this.response, 'X-Powered-By', 'Adonis')
nodeRes.header(this.response, 'X-Powered-By', 'AdonisJs')
}
nodeRes.descriptiveMethods.forEach((method) => {
this[method] = (body) => {
Expand Down

0 comments on commit 1fb8eb3

Please sign in to comment.