This commit is contained in:
Frank 2026-08-07 02:22:25 -04:00
parent 741244b69d
commit 325529761b

View file

@ -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")