Trust the X-Forwarded-For header

This commit is contained in:
Michael Jackson 2019-01-26 22:08:42 -08:00
parent 4136c9360c
commit 21ce9c50cf
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ const port = process.env.PORT || '8080';
const app = express();
app.disable('x-powered-by');
app.enable('trust proxy');
app.use(logger);
app.use(staticFiles);