reload pages on back button for me

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-24 15:07:12 +02:00
parent 53fe1ffc60
commit 66eb63dcee
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,13 @@
<head>
<meta name="description" content="{{config('DESCRIPTION')}}">
{% if v and v.id == AEVANN_ID %}
<script>
if(PerformanceNavigationTiming.type == "back_forward")
location.reload(true);
</script>
{% endif %}
{% 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 %}