fix bug where user banner sometimes wasn't shown on mobile

master
Aevann1 2022-06-15 20:29:54 +02:00
parent 3985a58815
commit d32a3774a6
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
{% 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'; connect-src 'self'; object-src 'none';">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' ajax.cloudflare.com; connect-src 'self'; object-src 'none';">
{% endif %}
<script src="{{asset('js/bootstrap.js')}}"></script>