Skip to content

fix: accept openai x-stainless-* header to fix CORS error#579

Merged
Wei-Shaw merged 1 commit intoWei-Shaw:mainfrom
KortanZ:main
Feb 18, 2026
Merged

fix: accept openai x-stainless-* header to fix CORS error#579
Wei-Shaw merged 1 commit intoWei-Shaw:mainfrom
KortanZ:main

Conversation

@KortanZ
Copy link
Contributor

@KortanZ KortanZ commented Feb 14, 2026

OpenAI 的node sdk会带x-stainless头,不在接受列表会导致前端app请求API跨域失败
Ref: ollama/ollama#9237

@Wei-Shaw Wei-Shaw merged commit 785a739 into Wei-Shaw:main Feb 18, 2026
4 checks passed
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.

2 participants