Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thanurarukshan authored Oct 2, 2023
1 parent e1507c1 commit 89e9c78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const app = express();
const port = process.env.PORT || 8383;
const ip = process.env.IP || null; // Use specified IP to bind to otherwise, bind to default for the API


// set security HTTP headers
app.use(helmet());

// Enable gzip compression
app.use(compression());

Expand Down

0 comments on commit 89e9c78

Please sign in to comment.