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
Unlike containers that reset on each run, your Sprite keeps your installed packages, files, and entire filesystem intact.
@@ -121,17 +121,19 @@ Every Sprite has a unique HTTP URL and can serve traffic. This makes it perfect
121
121
122
122
### Serve HTTP
123
123
124
-
Start a simple Python server and get your public URL:
124
+
First, get your Sprite's public URL:
125
125
126
126
```bash
127
-
# Start a simple HTTP server on port 8080
128
-
sprite exec"python -m http.server 8080 &"
129
-
130
-
# Get your Sprite's public URL
131
127
sprite url
132
128
```
133
129
134
-
Visit the URL in your browser—you'll see Python's directory listing page. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests.
130
+
Then start a simple Python server:
131
+
132
+
```bash
133
+
sprite exec python -m http.server 8080
134
+
```
135
+
136
+
Visit the URL in your browser—you'll see Python's directory listing page. Press `Ctrl+C` to stop the server when you're done. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests.
135
137
136
138
<Callouttype="info">
137
139
By default, your Sprite's URL requires authentication. To make it publicly accessible, run:
@@ -140,7 +142,7 @@ By default, your Sprite's URL requires authentication. To make it publicly acces
140
142
sprite url update --auth public
141
143
```
142
144
143
-
The default`sprite` auth mode allows access using a Sprite token with Bearer authentication.
145
+
The `default` auth mode requires a Sprite token with Bearer authentication.
0 commit comments