summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSheogorath2020-02-09 14:42:45 +0100
committerSheogorath2020-02-09 21:59:17 +0100
commit651db6098520f568201b808385a9f8fe6f22bbe0 (patch)
treed53c43c40bf61c2a40f0b31dae947dc64d6d1603 /lib
parent8039066f9976d8e05c2031ec82f1f5b840ad45e4 (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/config/default.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index ac78e8ed..7504fda2 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -28,7 +28,7 @@ module.exports = {
reportURI: undefined
},
protocolUseSSL: false,
- useCDN: true,
+ useCDN: false,
allowAnonymous: true,
allowAnonymousEdits: false,
allowFreeURL: false,