QSTASH_URL
environment variable to point to your local server, along with the user credentials provided in the output.
<YOUR-AUTH-TOKEN>
with your actual auth token.
3000
, the command is:
Forwarding
line serves the same purpose as your localhost URL, the only difference being that it is publically accessible. We need this URL to make our workflow available to QStash for local development, either as the baseUrl
parameter or the UPSTASH_WORKFLOW_URL
environment variable (both options provide the same functionality).
Note: The UPSTASH_WORKFLOW_URL
environment variable is only necessary for local development. In production, the baseUrl
parameter is automatically set and can be omitted.
ngrok http 8080
.