Skip to content

Commit e546853

Browse files
committed
security(server): disable x-powered-by header
1 parent 109479a commit e546853

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const __filename = fileURLToPath(import.meta.url)
1111
const __dirname = path.dirname(__filename)
1212

1313
const app = express()
14+
app.disable("x-powered-by")
1415
const port = process.env.PORT || 3001
1516

1617
app.use(express.json({ limit: "50mb" }))

0 commit comments

Comments
 (0)