mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Support sending a custom Content-Security-Policy header in Website mode
This commit is contained in:
parent
5346278ad3
commit
ff45a5c76b
6 changed files with 103 additions and 10 deletions
|
@ -55,7 +55,11 @@ class ModeSettings:
|
|||
"disable_text": False,
|
||||
"disable_files": False,
|
||||
},
|
||||
"website": {"disable_csp": False, "filenames": []},
|
||||
"website": {
|
||||
"disable_csp": False,
|
||||
"custom_csp": None,
|
||||
"filenames": []
|
||||
},
|
||||
"chat": {"room": "default"},
|
||||
}
|
||||
self._settings = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue