Skip to content

Commit f720490

Browse files
committed
fix(console): add public fetch compatibility flag
1 parent 341c64c commit f720490

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

infra/console.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,12 @@ new sst.cloudflare.x.SolidStart("Console", {
288288
server: {
289289
placement: { region: "aws:us-east-2" },
290290
transform: {
291-
worker: {
292-
tailConsumers: [{ service: logProcessor.nodes.worker.scriptName }],
291+
worker: (args) => {
292+
args.compatibilityFlags = $resolve(args.compatibilityFlags).apply((flags) => [
293+
...(flags ?? []),
294+
"global_fetch_strictly_public",
295+
])
296+
args.tailConsumers = [{ service: logProcessor.nodes.worker.scriptName }]
293297
},
294298
},
295299
},

0 commit comments

Comments
 (0)