Skip to content

[agent] fix: disable Express powered-by header#2078

Open
Tian1996 wants to merge 1 commit into
xevrion-v2:mainfrom
Tian1996:codex/issue-1072-disable-express-powered-by
Open

[agent] fix: disable Express powered-by header#2078
Tian1996 wants to merge 1 commit into
xevrion-v2:mainfrom
Tian1996:codex/issue-1072-disable-express-powered-by

Conversation

@Tian1996

Copy link
Copy Markdown

Description

Closes #1072

Disables the default Express powered-by header during API app initialization.

Changes Made

  • Called app.disable("x-powered-by") after creating the Express app.
  • Left route handlers and response bodies unchanged.

Model Info

Verification

  • npm test

AI Agent Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SECURITY] Disable Express X-Powered-By response header

1 participant