You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am spawning multiple opencode servers with random ports and access them using one web instance.
However, starting opencode server with a wildcard cors does not work as it only checks for direct match.
opencode serve --cors "*"
Not providing cors flag causes the browser to just block the request due to missing CORS headers.
Plugins
No response
OpenCode version
1.15.9
Steps to reproduce
Start opencode server with any cors config
Launch a website of some kind
Call fetch() in the browser to the opencode server
Activity
github-actions commentedon Aug 31, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.