mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-25 11:42:58 +01:00
Merge pull request #52 from fosscord/pr/948
fosscord/fosscord-server#948
This commit is contained in:
commit
8dea5134fd
@ -19,3 +19,4 @@ in the `fosscord-server` folder, with the format `NAME=VALUE` with each on new l
|
||||
| STORAGE_PROVIDER | "s3" or "file" | CDN storage provider |
|
||||
| STORAGE_BUCKET | string | S3 bucket name |
|
||||
| STORAGE_REGION | string | S3 storage region |
|
||||
| ONLY_CACHE_JS | any | If set, [`npm run generate:client`](../npmScripts.md#generateclient) will only cache JS files. |
|
||||
|
@ -34,10 +34,8 @@ Downloads a (mostly) complete discord.com web client and runs some basic patches
|
||||
- Prevents `localStorage` deletion (for [plugins](Test%20Client/plugins.md))
|
||||
- Adds `fast-identify` support
|
||||
|
||||
The script can only search for all javascript client files,
|
||||
as it is difficult to determine the filetype of other assets.
|
||||
Instead, it uses a `cacheMisses` file in `fosscord-server/assets`
|
||||
generated at server runtime.
|
||||
Running this script will, at the time of writing, download roughly ~5000 assets.
|
||||
To only download JS files (~700 assets), set the [`ONLY_CACHE_JS` environment variable](configuration/env.md)
|
||||
|
||||
### fast-identify
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user