mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-26 17:22:30 +00:00
Update CDN defaults
As we noticed in our poll about CDN usage, that most people intentionally turn it off, but very little intetionally turn it on or leave it on. [1] There is also strong indicators that CDNs don't really provide any benefits in loading time and due to the small deployments of CodiMD, there is no big savings due to CDNs either. [2] Therefore this patch changes the CDN default settings to off in order to reduce the exposed user data. [1]: https://community.codimd.org/t/poll-on-cdn-usage/28 [2]: https://csswizardry.com/2019/05/self-host-your-static-assets/ Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
8039066f99
commit
651db60985
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ these are rarely used for various reasons.
|
|||
| variables | example values | description |
|
||||
| --------- | ------ | ----------- |
|
||||
| `allowGravatar` | `true` or `false` | set to `false` to disable [Libravatar](https://www.libravatar.org/) as profile picture source on your instance. Libravatar is a federated open-source alternative to Gravatar. |
|
||||
| `useCDN` | `true` or `false` | set to use CDN resources or not (default is `true`) |
|
||||
| `useCDN` | `true` or `false` | set to use CDN resources or not (default is `false`) |
|
||||
|
||||
## Users and Privileges
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ module.exports = {
|
|||
reportURI: undefined
|
||||
},
|
||||
protocolUseSSL: false,
|
||||
useCDN: true,
|
||||
useCDN: false,
|
||||
allowAnonymous: true,
|
||||
allowAnonymousEdits: false,
|
||||
allowFreeURL: false,
|
||||
|
|
Loading…
Reference in a new issue