[PR #748] [CLOSED] Add cors middleware for firefox localhost development #9700

Closed
opened 2026-02-16 18:14:01 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/748
Author: @chris-tse
Created: 7/7/2025
Status: Closed

Base: devHead: openapi-cors-fix


📝 Commits (1)

  • 2ad1f26 Add cors middleware for firefox localhost development

📊 Changes

1 file changed (+24 additions, -0 deletions)

View changed files

📝 packages/opencode/src/server/server.ts (+24 -0)

📄 Description

Implements the Hono CORS middleware to properly respond to preflight requests from browsers that are more strict on cross-origin requests like Firefox.

Addresses #744


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/748 **Author:** [@chris-tse](https://github.com/chris-tse) **Created:** 7/7/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `openapi-cors-fix` --- ### 📝 Commits (1) - [`2ad1f26`](https://github.com/anomalyco/opencode/commit/2ad1f26afd3e1f7b20437c89faa807f82172a684) Add cors middleware for firefox localhost development ### 📊 Changes **1 file changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/server/server.ts` (+24 -0) </details> ### 📄 Description Implements the Hono CORS middleware to properly respond to preflight requests from browsers that are more strict on cross-origin requests like Firefox. Addresses #744 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:01 -05:00
yindo closed this issue 2026-02-16 18:14:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9700