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..b66ac1b 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`, where the org ID is a short generated identifier, not your org's name. Run `sprite info` to get the exact URL. ### 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)