mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-08 06:43:24 +00:00
sync
This commit is contained in:
parent
741244b69d
commit
325529761b
1 changed files with 4 additions and 0 deletions
|
|
@ -238,6 +238,10 @@ export async function handler(
|
|||
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID)
|
||||
return
|
||||
}
|
||||
if (v === "$org") {
|
||||
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID.replace("wrk_", "org_"))
|
||||
return
|
||||
}
|
||||
headers.set(k, v)
|
||||
})
|
||||
headers.delete("host")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue