mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-04 08:39:52 +00:00
fix(console): add public fetch compatibility flag
This commit is contained in:
parent
341c64cc97
commit
f720490219
1 changed files with 6 additions and 2 deletions
|
|
@ -288,8 +288,12 @@ new sst.cloudflare.x.SolidStart("Console", {
|
|||
server: {
|
||||
placement: { region: "aws:us-east-2" },
|
||||
transform: {
|
||||
worker: {
|
||||
tailConsumers: [{ service: logProcessor.nodes.worker.scriptName }],
|
||||
worker: (args) => {
|
||||
args.compatibilityFlags = $resolve(args.compatibilityFlags).apply((flags) => [
|
||||
...(flags ?? []),
|
||||
"global_fetch_strictly_public",
|
||||
])
|
||||
args.tailConsumers = [{ service: logProcessor.nodes.worker.scriptName }]
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue