Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/nervous-waves-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@e2b/python-sdk': minor
'e2b': minor
---

Changes default domain to e2b.app

4 changes: 2 additions & 2 deletions packages/js-sdk/src/connectionConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ConnectionOpts {
/**
* Domain to use for the API.
*
* @default E2B_DOMAIN // environment variable or `e2b.dev`
* @default E2B_DOMAIN // environment variable or `e2b.app`
*/
domain?: string
/**
Expand Down Expand Up @@ -74,7 +74,7 @@ export class ConnectionConfig {
}

private static get domain() {
return getEnvVar('E2B_DOMAIN') || 'e2b.dev'
return getEnvVar('E2B_DOMAIN') || 'e2b.app'
}

private static get debug() {
Expand Down
2 changes: 1 addition & 1 deletion packages/python-sdk/e2b/connection_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ConnectionConfig:

@staticmethod
def _domain():
return os.getenv("E2B_DOMAIN", "e2b.dev")
return os.getenv("E2B_DOMAIN", "e2b.app")

@staticmethod
def _debug():
Expand Down
Loading