Skip to content

Commit

Permalink
Serve security headers locally
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Dec 25, 2021
1 parent 815174b commit cda0409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/express-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const app = express();
if (process.env.NODE_ENV === 'production') {
app.enable('trust proxy');
app.use(expressEnforcesSSL());
app.use(helmet());
}
app.use(helmet());

// Serve assets using gzip compression
app.use(compression());
Expand Down

0 comments on commit cda0409

Please sign in to comment.