fix: use supported redirect mode for Workers organization requests
Deploy EG-BIM QA Gateway / deploy (push) Successful in 1m24s
Deploy EG-BIM QA Gateway / deploy (push) Successful in 1m24s
This commit is contained in:
1 parent
c87e0aa0c1
commit
ccf48c8224
8 files changed
+126
-4
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using Workerd = import "/workerd/workerd.capnp";
|
||||
|
||||
const config :Workerd.Config = (
|
||||
services = [
|
||||
(name = "organization", worker = (
|
||||
compatibilityDate = "2026-09-18",
|
||||
globalOutbound = "organization-upstream",
|
||||
modules = [
|
||||
(name = "test.mjs", esModule = embed "organization-test.mjs"),
|
||||
(name = "index.js", esModule = embed "../../src/index.js"),
|
||||
(name = "org-context.js", esModule = embed "../../src/org-context.js")
|
||||
]
|
||||
)),
|
||||
(name = "organization-upstream", worker = (
|
||||
compatibilityDate = "2026-09-18",
|
||||
modules = [(name = "upstream.mjs", esModule = embed "organization-upstream.mjs")]
|
||||
))
|
||||
]
|
||||
);
|
||||
Reference in new issue
Block a user