diff --git a/src/content/docs/sandbox/configuration/environment-variables.mdx b/src/content/docs/sandbox/configuration/environment-variables.mdx index fa00e71980b1fcf..152dbde0c877fa0 100644 --- a/src/content/docs/sandbox/configuration/environment-variables.mdx +++ b/src/content/docs/sandbox/configuration/environment-variables.mdx @@ -183,9 +183,10 @@ Then pass them to your sandbox: ```typescript import { getSandbox } from "@cloudflare/sandbox"; +export { Sandbox } from "@cloudflare/sandbox"; interface Env { - Sandbox: DurableObjectNamespace; + Sandbox: DurableObjectNamespace; OPENAI_API_KEY: string; DATABASE_URL: string; } @@ -278,9 +279,10 @@ Bucket mounting requires production deployment. It does not work with `wrangler ```typescript import { getSandbox } from "@cloudflare/sandbox"; +export { Sandbox } from "@cloudflare/sandbox"; interface Env { - Sandbox: DurableObjectNamespace; + Sandbox: DurableObjectNamespace; AWS_ACCESS_KEY_ID: string; AWS_SECRET_ACCESS_KEY: string; }