mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-12 16:15:43 -04:00
Make setting the Content-Security-Policy header optional so it doesn't break website mode shares
This commit is contained in:
parent
320cac0ad1
commit
a0d4e2880f
8 changed files with 86 additions and 10 deletions
|
@ -66,7 +66,8 @@ class TestSettings:
|
|||
'password': '',
|
||||
'hidservauth_string': '',
|
||||
'data_dir': os.path.expanduser('~/OnionShare'),
|
||||
'public_mode': False
|
||||
'public_mode': False,
|
||||
'csp_header_enabled': True
|
||||
}
|
||||
for key in settings_obj._settings:
|
||||
# Skip locale, it will not always default to the same thing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue