Noita-Together / noita-together

Play alone together
MIT License
49 stars 15 forks source link

Changes to support new lobby server #122

Closed myndzi closed 10 months ago

myndzi commented 10 months ago

Includes migration and integration changes to support using https://github.com/noita-together/lobby-server as the backend lobby server:

With this code, new environment variables should be used to build the client: nt-app/.env -

VUE_APP_NT_LOGIN_URL=https://noitatogether.com/api/auth/login
VUE_APP_LOBBY_SERVER_WS_URL_BASE=wss://lobby.noitatogether.com/ws
NEXT_PUBLIC_LOBBY_SERVER_API_URL_BASE=https://lobby.noitatogether.com/api
myndzi commented 10 months ago

Let's wait until at least one playtest confirms nothing is heinously wrong, but this should otherwise be ready to go. The current production servers are running this version of the code, so the old "NT Beta" client is currently going to fail until users download this version, or I revert all the server changes. A new release will have to be created and uploaded.

r? @SkyeOfBreeze