couple more tweaks

This commit is contained in:
Soph :3 2024-11-25 15:07:35 +02:00
parent 97b5ae8eea
commit 5c0c24a170
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -17,6 +17,9 @@ if(!localStorage.host){
this._ws=new WebSocket(wsurl,"pianoverse") this._ws=new WebSocket(wsurl,"pianoverse")
``` ```
s/`,services_client=client;`/`,services_client=client;window.client=client;`
s/`this._ws=new WebSocket("wss://pianoverse.net","pianoverse")`/`let wsurl="";if(!localStorage.host){wsurl = "wss://api.pianoverse.me";}else if(localStorage.host=="mainline"){wsurl="wss://pianoverse.net"}else if(localStorage.host == "dev"){wsurl="ws://127.0.0.1:8081"};this._ws=new WebSocket(wsurl,"pianoverse")`
To reverse these modifications, run `localStorage.host = "mainline"`. You can also make it point towards 127.0.0.1:8081 with `localStorage.host = "dev"` To reverse these modifications, run `localStorage.host = "mainline"`. You can also make it point towards 127.0.0.1:8081 with `localStorage.host = "dev"`
Nushell script for downloading all sounds: Nushell script for downloading all sounds: