1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-08 19:32:30 +01:00

Update contributing.md

This commit is contained in:
Flam3rboy 2021-05-28 13:05:54 +02:00 committed by GitHub
parent 4f0f863f0e
commit af039d8ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,14 @@ npm i
npm start
```
#### Make it public
You need to set the gateway endpoint in order to access it from everywhere.
To do this create a ``/api/.env`` file and appending/writing this:
```
GATEWAY=[YOURGATEWAYURL]
```
replace ``[YOURGATEWAYURL]`` with your gateway endpoint e.g. ``http://localhost:3001``, ``http://myfosscordserver:3001``
---
### WebSocket Gateway Server