mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-20 04:24:21 -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
|
@ -8,6 +8,7 @@ class LocalWebsiteModeTest(unittest.TestCase, GuiWebsiteTest):
|
|||
@classmethod
|
||||
def setUpClass(cls):
|
||||
test_settings = {
|
||||
"csp_header_enabled": False
|
||||
}
|
||||
cls.gui = GuiWebsiteTest.set_up(test_settings)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue