We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 908e281 commit 62e1335Copy full SHA for 62e1335
1 file changed
packages/opencode/src/server/middleware.ts
@@ -74,6 +74,7 @@ export function CorsMiddleware(opts?: { cors?: string[] }): MiddlewareHandler {
74
75
if (input.startsWith("http://localhost:")) return input
76
if (input.startsWith("http://127.0.0.1:")) return input
77
+ if (input.startsWith("oc://renderer")) return input
78
if (input === "tauri://localhost" || input === "http://tauri.localhost" || input === "https://tauri.localhost")
79
return input
80
0 commit comments