Add csp_additional_header config option

This commit is contained in:
Raphael Michel
2020-12-21 19:15:35 +01:00
parent 06643232cf
commit 8ed41a1276
3 changed files with 9 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ else:
debug_fallback = "runserver" in sys.argv
DEBUG = config.getboolean('django', 'debug', fallback=debug_fallback)
LOG_CSP = config.getboolean('pretix', 'csp_log', fallback=True)
CSP_ADDITIONAL_HEADER = config.get('pretix', 'csp_additional_header', fallback=True)
PDFTK = config.get('tools', 'pdftk', fallback=None)