You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/sandbox/concepts/preview-urls.mdx
+34-27Lines changed: 34 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Preview URLs work in local development without configuration. For production, yo
12
12
Preview URLs provide public HTTPS access to services running inside sandboxes. When you expose a port, you get a unique URL that proxies requests to your service.
URLs remain stable for a given sandbox ID and port. You can share, bookmark, or use them in webhooks.
32
+
Preview URLs remain stable while a port is exposed and can be shared during that time. However, if you unexpose and re-expose a port, a new random token is generated and the URL changes. For persistent URLs, keep ports exposed for the duration you need them accessible.
33
33
34
34
## Request Routing
35
35
@@ -39,14 +39,14 @@ You must call `proxyToSandbox()` first in your Worker's fetch handler to route p
Copy file name to clipboardExpand all lines: src/content/docs/sandbox/guides/index.mdx
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,11 @@ sidebar:
5
5
order: 4
6
6
---
7
7
8
-
These guides show you how to solve specific problems and implement features with the Sandbox SDK. Each guide focuses on a particular task and provides practical, production-ready solutions.
These guides show you how to solve specific problems and implement features with the Sandbox SDK. Each guide focuses on a particular task and provides practical, production-ready solutions.
11
11
12
-
-[Execute commands](/sandbox/guides/execute-commands/) - Run commands with streaming output, error handling, and shell access
13
-
-[Manage files](/sandbox/guides/manage-files/) - Read, write, organize, and synchronize files in the sandbox
14
-
-[Run background processes](/sandbox/guides/background-processes/) - Start and manage long-running services and applications
15
-
-[Expose services](/sandbox/guides/expose-services/) - Create preview URLs and expose ports for web services
16
-
-[Use code interpreter](/sandbox/guides/code-execution/) - Execute Python and JavaScript code with rich outputs
17
-
-[Work with Git](/sandbox/guides/git-workflows/) - Clone repositories, manage branches, and automate Git operations
18
-
-[Stream output](/sandbox/guides/streaming-output/) - Handle real-time output from commands and processes
0 commit comments