Skip to content

Commit ef820f3

Browse files
committed
feat: remove deprecated regions
1 parent 14340b4 commit ef820f3

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

content/docs/overview/sessions-api/multi-region.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const client = new Steel();
4848

4949
// Create session in Los Angeles data center
5050
const session = await client.sessions.create({
51-
region: "LAX"
51+
region: "lax"
5252
});
5353
```
5454

@@ -59,7 +59,7 @@ client = Steel()
5959

6060
# Create session in Los Angeles data center
6161
session = client.sessions.create(
62-
region="LAX"
62+
region="lax"
6363
)
6464
```
6565
</CodeTabs>
@@ -74,8 +74,6 @@ Steel is available in the following regions:
7474
| Los Angeles | LAX | Los Angeles, USA |
7575
| Chicago | ORD | Chicago, USA |
7676
| Washington DC | IAD | Washington DC, USA |
77-
| Santiago | SCL | Santiago, Chile |
78-
| Frankfurt | FRA | Frankfurt, Germany |
7977

8078
### Region vs Proxy Selection
8179

@@ -88,7 +86,7 @@ You can combine region selection with proxy settings:
8886
```typescript !! Typescript -wcn
8987
// Browser runs in Frankfurt, but uses a US proxy for requests
9088
const session = await client.sessions.create({
91-
region: "FRA",
89+
region: "lax",
9290
useProxy: true
9391
});
9492

@@ -97,7 +95,7 @@ const session = await client.sessions.create({
9795
```python !! Python -wcn
9896
# Browser runs in Frankfurt, but uses a US proxy for requests
9997
session = client.sessions.create(
100-
region="FRA",
98+
region="lax",
10199
use_proxy=True
102100
)
103101
```

0 commit comments

Comments
 (0)