Update documentation for 2.4.1

This commit is contained in:
Micah Lee 2021-11-23 19:33:21 -08:00
parent a4985e7029
commit 9ad87ea25e
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
22 changed files with 39 additions and 29 deletions

View file

@ -118,7 +118,10 @@ Content Security Policy
By default OnionShare helps secure your website by setting a strict `Content Security Policy <https://en.wikipedia.org/wiki/Content_Security_Policy>`_ header. However, this prevents third-party content from loading inside the web page.
If you want to load content from third-party websites, like assets or JavaScript libraries from CDNs, check the "Don't send Content Security Policy header (allows your website to use third-party resources)" box before starting the service.
If you want to load content from third-party websites, like assets or JavaScript libraries from CDNs, you have two options:
- You can disable sending a Content Security Policy header by checking the "Don't send Content Security Policy header (allows your website to use third-party resources)" box before starting the service.
- You can send a custom Content Security Policy header.
Tips for running a website service
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^