Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 4, 2021
1 parent 3b8b0ed commit 2f06a20
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ app.disable( "x-powered-by" );
// directory that we will serve
app.use( express.static( __dirname + "/dist/company-profile-ui-template" ) );

var helmet = require( "helmet" );
app.use( helmet() );

app.get( "*", function ( req, res, next ) {

if ( "https" !== req.headers[ "x-forwarded-proto" ] && "production" === process.env.NODE_ENV ) {
Expand Down

0 comments on commit 2f06a20

Please sign in to comment.