We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ec6c82 commit 6d4d77dCopy full SHA for 6d4d77d
1 file changed
apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx
@@ -35,7 +35,7 @@ You can set global environment variables when creating a sandbox.
35
import { Sandbox } from '@e2b/code-interpreter'
36
37
const sandbox = await Sandbox.create({
38
- env: { // $HighlightLine
+ envs: { // $HighlightLine
39
MY_VAR: 'my_value', // $HighlightLine
40
}, // $HighlightLine
41
})
@@ -44,7 +44,7 @@ const sandbox = await Sandbox.create({
44
from e2b_code_interpreter import Sandbox
45
46
sandbox = Sandbox(
47
- env={ # $HighlightLine
+ envs={ # $HighlightLine
48
'MY_VAR': 'my_value', # $HighlightLine
49
}, # $HighlightLine
50
)
0 commit comments