We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d61e6 commit 8d30845Copy full SHA for 8d30845
src/run/regional-blob-store.cts
@@ -3,8 +3,9 @@ import { getDeployStore, Store } from '@netlify/blobs'
3
const fetchBeforeNextPatchedIt = globalThis.fetch
4
5
export const getRegionalBlobStore = (args: Parameters<typeof getDeployStore>[0] = {}): Store => {
6
+ const options = typeof args === 'string' ? { name: args } : args
7
return getDeployStore({
- ...args,
8
+ ...options,
9
fetch: fetchBeforeNextPatchedIt,
10
experimentalRegion:
11
process.env.USE_REGIONAL_BLOBS?.toUpperCase() === 'TRUE' ? 'context' : undefined,
0 commit comments