Skip to content

Commit

Permalink
Merge pull request #131 from AgainIoT/feature/130
Browse files Browse the repository at this point in the history
Fix : resolve expressjs security hotspot problems #130
  • Loading branch information
ymw0407 authored Oct 6, 2023
2 parents 06fba6c + 8baf880 commit 455d921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/file/env-template/Expressjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import express from 'express';
const app = express();
const PORT = 8080;

app.disable('x-powered-by')

app.get('/', (req, res) => {
res.send('Hello World!');
});
Expand Down

0 comments on commit 455d921

Please sign in to comment.