Skip to content

Commit

Permalink
fix: disable x-powered-by
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Jan 13, 2025
1 parent 102edbd commit d271953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/ultimate-express/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const express = require('ultimate-express');
const app = express();

app.set('etag', false);
app.set('x-powered-by', false);

app.get('/', function (req, res) {
res.send('');
Expand Down

0 comments on commit d271953

Please # to comment.