Skip to content

Conversation

jsdt
Copy link
Contributor

@jsdt jsdt commented Sep 17, 2025

Description of Changes

In the typescript quickstart example, this includes the server and module name in the local storage variable name that we use for the auth token.

This fixes an otherwise annoying issue people run into if they start running the quickstart locally, then try to run it on maincloud. If they have already run the app with a local server, their browser will store the locally signed token, which will get rejected by maincloud.

Expected complexity level and risk

Testing

I was able to connect to my local quickstart, then change the variables to point to a module on maincloud, and I didn't get any errors.

@jsdt jsdt requested a review from cloutiertyler September 17, 2025 17:47
@bfops bfops added the release-any To be landed in any release window label Sep 22, 2025
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the tutorial as well. We are keeping the quickstart in sync exactly with the tutorial: https://spacetimedb.com/docs/sdks/typescript/quickstart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants