diff --git a/README.md b/README.md index 4e2438e7..0632e1ce 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Python package to develop applications with the Dispatch platform. [fastapi]: https://fastapi.tiangolo.com/tutorial/first-steps/ [ngrok]: https://ngrok.com/ [pypi]: https://pypi.org/project/dispatch-py/ -[signup]: https://docs.stealthrocket.cloud/stateful-functions/getting-started +[signup]: https://docs.dispatch.run/stateful-functions/getting-started - [What is Dispatch?](#what-is-dispatch) - [Installation](#installation) diff --git a/docs/index.md b/docs/index.md index f0244557..890e38aa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,9 +2,9 @@ This is the API reference for the Python SDK of Dispatch. -- Tutorials and guides: [docs.stealthrocket.cloud][docs]. +- Tutorials and guides: [docs.dispatch.run][docs]. - Source: [stealthrocket/dispatch-py][github]. -[docs]: https://docs.stealthrocket.cloud +[docs]: https://docs.dispatch.run [github]: https://github.com/stealthrocket/dispatch-py diff --git a/examples/auto_retry/app.py b/examples/auto_retry/app.py index 5e9c9f22..466e76e0 100644 --- a/examples/auto_retry/app.py +++ b/examples/auto_retry/app.py @@ -3,7 +3,7 @@ This example demonstrates how stateful functions automatically retry on failure. Make sure to follow the setup instructions at -https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/ +https://docs.dispatch.run/dispatch/stateful-functions/getting-started/ Run with: diff --git a/examples/getting_started/app.py b/examples/getting_started/app.py index 5f47b43b..2e90fae4 100644 --- a/examples/getting_started/app.py +++ b/examples/getting_started/app.py @@ -3,7 +3,7 @@ This is the most basic example to get started with Dispatch Functions. Follow along with the tutorial at: -https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/ +https://docs.dispatch.run/dispatch/stateful-functions/getting-started/ The program starts a FastAPI server and initializes the Dispatch SDK that registers one function. This function makes a dummy but durable HTTP request. @@ -15,7 +15,7 @@ ## Get a Dispatch API key Sign up for Dispatch and generate a new API key: -https://docs.stealthrocket.cloud/stateful-functions/getting-started#creating-an-api-key +https://docs.dispatch.run/stateful-functions/getting-started#creating-an-api-key ## Create a local tunnel @@ -41,7 +41,7 @@ -d '{}' \ -H "Authorization: Bearer $DISPATCH_API_KEY" \ -H "Content-Type: application/json" \ - https://api.stealthrocket.cloud/dispatch.v1.SigningKeyService/CreateSigningKey | \ + https://api.dispatch.run/dispatch.v1.SigningKeyService/CreateSigningKey | \ jq -r .key.asymmetricKey.publicKey`" 2. Start the server: diff --git a/examples/github_stats/app.py b/examples/github_stats/app.py index 3e41cd2c..e34b8fe5 100644 --- a/examples/github_stats/app.py +++ b/examples/github_stats/app.py @@ -3,7 +3,7 @@ This example demonstrates how to use async functions orchestrated by Dispatch. Make sure to follow the setup instructions at -https://docs.stealthrocket.cloud/dispatch/stateful-functions/getting-started/ +https://docs.dispatch.run/dispatch/stateful-functions/getting-started/ Run with: diff --git a/src/dispatch/client.py b/src/dispatch/client.py index c3d6435b..9f67490b 100644 --- a/src/dispatch/client.py +++ b/src/dispatch/client.py @@ -15,7 +15,7 @@ logger = logging.getLogger(__name__) -DEFAULT_API_URL = "https://api.stealthrocket.cloud" +DEFAULT_API_URL = "https://api.dispatch.run" class Client: