Enable CORS fetch mode for storage requests
The load balancer now returns a specific `Access-Control-Allow-Origin` instead of a wildcard, so credentials can be included by default. This enables `maxEntrySize` enforcement for storage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -42,7 +42,8 @@ TurboOffline.addRule({
|
||||
maxAge: 60 * 60 * 24 * 7,
|
||||
networkTimeout: 2,
|
||||
maxEntrySize: 2 * 1024 * 1024, // 2MB covers about 95% of all Fizzy blobs
|
||||
maxEntries: 500
|
||||
maxEntries: 500,
|
||||
fetchOptions: { mode: "cors" }
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user