try to fix pusher

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-16 20:28:35 +02:00
parent 3d3a048b14
commit fea5ee75eb
1 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@
<meta name="description" content="{{DESCRIPTION}}">
{% if request.path %}
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' ajax.cloudflare.com; connect-src 'self'; object-src 'none';">
{% else %}
{% if request.path == '/' %}
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io {% if PUSHER_ID != 'blahblahblah' %}{{PUSHER_ID}}.pushnotifications.pusher.com{% endif %}; object-src 'none';">
{% else %}
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' ajax.cloudflare.com; connect-src 'self'; object-src 'none';">
{% endif %}
{% if v %}