fix for quoted cspheader
This commit is contained in:
parent
8f737432d8
commit
db98ff9cc3
|
@ -101,7 +101,7 @@ icon = {{ private_bin_main_icon }}
|
||||||
; webassembly support (used for zlib compression). You can remove it if Chrome
|
; webassembly support (used for zlib compression). You can remove it if Chrome
|
||||||
; doesn't need to be supported and old browsers don't need to be warned.
|
; doesn't need to be supported and old browsers don't need to be warned.
|
||||||
{% if private_bin_main_url_shortener is not none %}
|
{% if private_bin_main_url_shortener is not none %}
|
||||||
cspheader = {{ private_bin_main_cspheader }}
|
cspheader = "{{ private_bin_main_cspheader }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
; cspheader = "default-src 'none'; manifest-src 'self'; connect-src * blob:; script-src 'self' 'unsafe-eval'; style-src 'self'; font-src 'self'; img-src 'self' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals"
|
; cspheader = "default-src 'none'; manifest-src 'self'; connect-src * blob:; script-src 'self' 'unsafe-eval'; style-src 'self'; font-src 'self'; img-src 'self' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue