From 5e8e9767b57838061e2fee29384fbecd36420d6e Mon Sep 17 00:00:00 2001 From: Kristin Martin Date: Wed, 8 Jul 2026 19:47:39 +0000 Subject: [PATCH 1/2] Replace deprecated sprite url commands with sprite info and sprite config update --- src/content/docs/quickstart.mdx | 6 +++--- src/content/docs/reference/configuration.mdx | 6 +++--- src/content/docs/sprites.mdx | 6 +++--- src/content/docs/working-with-sprites.mdx | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/content/docs/quickstart.mdx b/src/content/docs/quickstart.mdx index 04fac5a..0c65662 100644 --- a/src/content/docs/quickstart.mdx +++ b/src/content/docs/quickstart.mdx @@ -126,7 +126,7 @@ Every Sprite has a unique HTTP URL and can serve traffic. This makes it perfect First, get your Sprite's public URL: ```bash -sprite url +sprite info ``` Then start a simple Python server: @@ -141,10 +141,10 @@ Visit the URL in your browser—you'll see Python's directory listing page. Pres By default, your Sprite's URL requires authentication. To make it publicly accessible, run: ```bash -sprite url update --auth public +sprite config update --url-auth public ``` -The `default` auth mode requires a Sprite token with Bearer authentication. +The `sprite` auth mode (the default) requires a Sprite token with Bearer authentication. ### Test on-demand wake-up diff --git a/src/content/docs/reference/configuration.mdx b/src/content/docs/reference/configuration.mdx index a418f28..5ce6966 100644 --- a/src/content/docs/reference/configuration.mdx +++ b/src/content/docs/reference/configuration.mdx @@ -18,10 +18,10 @@ Configure HTTP access to your Sprite: ```bash # Make URL public -sprite url update --auth public +sprite config update --url-auth public -# Require authentication -sprite url update --auth default +# Require authentication (the default) +sprite config update --url-auth sprite ``` For the REST API and Go SDK, use `sprite` or `public` for `url_settings.auth`. diff --git a/src/content/docs/sprites.mdx b/src/content/docs/sprites.mdx index 3f708a8..628fc58 100644 --- a/src/content/docs/sprites.mdx +++ b/src/content/docs/sprites.mdx @@ -571,13 +571,13 @@ Every Sprite has a unique URL for HTTP access: ```bash # Get sprite URL -sprite url +sprite info # Make URL public (no auth required) -sprite url update --auth public +sprite config update --url-auth public # Make URL require sprite auth (default) -sprite url update --auth default +sprite config update --url-auth sprite ``` diff --git a/src/content/docs/working-with-sprites.mdx b/src/content/docs/working-with-sprites.mdx index fe848de..a4d808d 100644 --- a/src/content/docs/working-with-sprites.mdx +++ b/src/content/docs/working-with-sprites.mdx @@ -101,14 +101,14 @@ Your Sprite stays awake while there's activity, and sleeps when there isn't. Act ## Networking: URLs and Port Forwarding -Every Sprite gets a URL: `https://.sprites.app` +Every Sprite gets a URL: `https://-.sprites.app` ### HTTP Access ```bash -sprite url # see URL -sprite url update --auth public # make public -sprite url update --auth default # make private again +sprite info # see URL and auth setting +sprite config update --url-auth public # make public +sprite config update --url-auth sprite # back to org-only (the default) ``` - Routes to port 8080 by default (or first HTTP port opened) From 22f10597eee402c7e45dfb4c8b7d2ba23c106bd9 Mon Sep 17 00:00:00 2001 From: Kristin Martin Date: Wed, 8 Jul 2026 19:50:02 +0000 Subject: [PATCH 2/2] Clarify that the URL suffix is an org ID, not the org name --- src/content/docs/working-with-sprites.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/working-with-sprites.mdx b/src/content/docs/working-with-sprites.mdx index a4d808d..b66ac1b 100644 --- a/src/content/docs/working-with-sprites.mdx +++ b/src/content/docs/working-with-sprites.mdx @@ -101,7 +101,7 @@ Your Sprite stays awake while there's activity, and sleeps when there isn't. Act ## Networking: URLs and Port Forwarding -Every Sprite gets a URL: `https://-.sprites.app` +Every Sprite gets a URL: `https://-.sprites.app`, where the org ID is a short generated identifier, not your org's name. Run `sprite info` to get the exact URL. ### HTTP Access