Skip to content

Commit 3585919

Browse files
committed
README
1 parent b1fac7d commit 3585919

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ For example, you can build your up to connect the Websocket to `wss://kuzzle.myd
6565
VUE_APP_BACKEND_HOST=kuzzle.mydomain.com VUE_APP_BACKEND_PORT=443 VUE_APP_BACKEND_SSL=true npm run build
6666
```
6767

68+
## Specify the backend via localStorage
69+
70+
_Purely for debug purposes_, you can override all the backend configuration by setting your backend as stringified JSON in the `kuzzle-backend` Local Storage item, e.g.
71+
72+
```
73+
{ "host": "myinstance.mydomain.io", "options": { "port": 443, "ssl": true } }
74+
```
75+
76+
**Beware that Local Storage is persistent and it is fairly easy to forget you set this item.** Use it consciously and keep in mind it is a good practice to unset it as soon as your debug session is over.
77+
6878
## Accessing the Kuzzle SDK instance within the app
6979

7080
You'll be able to access the Kuzzle SDK instance from the components as

0 commit comments

Comments
 (0)