1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-25 03:33:05 +01:00

Make where you enable test client more clear

This commit is contained in:
Madeline 2023-01-11 15:16:20 +11:00
parent 7687543732
commit d15bb0bae1
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -3,10 +3,12 @@
!!! warning "The test client included with fosscord-server is deprecated and will be removed in favour of [Discord-Client-Proxy](http://github.com/fosscord/Discord-Client-Proxy) in the future"
The test client is a proxy to the Discord.com client used for development purposes.
You can enable the test client by setting the `client_useTestClient` [config](../configuration/index.md) value.
You can enable the test client by setting the [`client_useTestClient` config](../configuration/index.md) value in your database.
## How it works
By editing the `GLOBAL_ENV` variable used by the client, we can trick it into sending requests to the API/Gateway/CDN/etc to us,
instead of Discord.com.
instead of Discord.com. We simply proxy it from Discord.com otherwise.
## Updating