Skip to content

docs: correct Wingman's gateway CORS requirements#2

Merged
brunobuddy merged 1 commit into
mainfrom
fix/wingman-cors-localhost
May 21, 2026
Merged

docs: correct Wingman's gateway CORS requirements#2
brunobuddy merged 1 commit into
mainfrom
fix/wingman-cors-localhost

Conversation

@brunobuddy

Copy link
Copy Markdown
Member

💭 Why

The cross-origin section was wrong on two counts. It said the Manifest backend allows Wingman "out of the box" (it's dev-only), and it listed only three allowed headers. The agent and SDK profiles send X-Stainless-* headers the list omitted, so following the docs reproduced a CORS preflight failure.

✨ What changed

  • Say the backend allows the Wingman origin in dev mode only; production keeps CORS off.
  • List the X-Stainless-* headers, and recommend reflecting Access-Control-Request-Headers.
  • Note the Private Network Access header for loopback gateways loaded over HTTPS.

📝 Notes

Backend dev-CORS fix that this documents: mnfst/manifest#1970.

The cross-origin section was wrong on two counts: it said the Manifest
backend allows Wingman "out of the box" (it's dev-only), and it listed
only three allowed headers. The agent and SDK profiles send X-Stainless-*
headers the list omitted, so following the docs reproduced a CORS
preflight failure.

- Say the backend allows the Wingman origin in dev mode only
- List the X-Stainless-* headers, recommend reflecting request headers
- Note the Private Network Access header for loopback gateways over HTTPS
@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wingman Ready Ready Preview May 21, 2026 9:43am

Request Review

@brunobuddy brunobuddy merged commit 7a09d00 into main May 21, 2026
2 checks passed
@brunobuddy brunobuddy deleted the fix/wingman-cors-localhost branch May 21, 2026 09:54
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.

1 participant