couple more tweaks
This commit is contained in:
parent
97b5ae8eea
commit
5c0c24a170
2 changed files with 4 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue