File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change
1
+ export const REGION_AUTO = 'auto'
2
+
1
3
const regions = {
2
4
'us-east-1' : true ,
3
5
'us-east-2' : true ,
Original file line number Diff line number Diff line change 1
1
import { Client , ClientOptions , getClientOptions } from './client.ts'
2
2
import { getEnvironmentContext , MissingBlobsEnvironmentError } from './environment.ts'
3
- import { Region } from './region.ts'
3
+ import { Region , REGION_AUTO } from './region.ts'
4
4
import { Store } from './store.ts'
5
5
6
6
interface GetDeployStoreOptions extends Partial < ClientOptions > {
@@ -38,7 +38,7 @@ export const getDeployStore = (input: GetDeployStoreOptions | string = {}): Stor
38
38
} else {
39
39
// For API requests, we can use `auto` and let the API choose the right
40
40
// region.
41
- clientOptions . region = 'auto'
41
+ clientOptions . region = REGION_AUTO
42
42
}
43
43
}
44
44
You can’t perform that action at this time.
0 commit comments