mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-08 14:22:40 -04:00
Invert the CSP header setting and put it in its own Website Mode settings group. Make the CSP header mandatory for share/receive modes, optional for website mode only.
This commit is contained in:
parent
52f8ff5dee
commit
d83b75cc04
8 changed files with 49 additions and 34 deletions
|
@ -8,7 +8,7 @@ class LocalWebsiteModeTest(unittest.TestCase, GuiWebsiteTest):
|
|||
@classmethod
|
||||
def setUpClass(cls):
|
||||
test_settings = {
|
||||
"csp_header_enabled": False
|
||||
"csp_header_disabled": True
|
||||
}
|
||||
cls.gui = GuiWebsiteTest.set_up(test_settings)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue