Skip to content

Commit

Permalink
Type-o
Browse files Browse the repository at this point in the history
Signed-off-by: James Ketrenos <[email protected]>
  • Loading branch information
jketreno committed Dec 1, 2016
1 parent 1212726 commit ef5ece4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const basePath = process.env.BASE || process.cwd().replace(/^.*?([^/]*)$/, '/$1/

/* App is behind an nginx proxy which we trust, so use the remote address
* set in the headers */
app.use('trust proxy', true);
app.set('trust proxy', true);

app.use(logger('common'));
app.use(bodyParser.json());
Expand Down

0 comments on commit ef5ece4

Please sign in to comment.