master
Aevann1 2021-12-10 00:45:59 +02:00
parent 5d5af18d22
commit 9f38b6f462
3 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ def after_request(response):
response.headers.add("Strict-Transport-Security", "max-age=31536000") response.headers.add("Strict-Transport-Security", "max-age=31536000")
response.headers.add("X-Frame-Options", "deny") response.headers.add("X-Frame-Options", "deny")
response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';") response.headers.add("Content-Security-Policy", "script-src 'self' 'unsafe-inline' 'unsafe-eval' 'sha256-68ef204ba201db38f6b29ac6b66f16ccde9d2215125ffe408d1bd4a3882a9966'; connect-src 'self' tls-use1.fpapi.io api.fpjs.io 02ddcc80-b8db-42be-9022-44c546b4dce6.pushnotifications.pusher.com; object-src 'none';")
return response return response
from files.routes import * from files.routes import *

View File

@ -2,7 +2,6 @@
<html lang="en"> <html lang="en">
<head> <head>
<script src="/assets/js/bootstrap.js?v=1"></script> <script src="/assets/js/bootstrap.js?v=1"></script>
<script src="/assets/js/mirage.js?v=1"></script>
{% if v %} {% if v %}
<style>:root{--primary:#{{v.themecolor}}}</style> <style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=139"> <link rel="stylesheet" href="/assets/css/main.css?v=139">

View File

@ -148,6 +148,7 @@
{% endif %} {% endif %}
{% if v %} {% if v %}
<div class="d-none" id="strid"></div>
<script src="/assets/js/pusher.js?v=4"></script> <script src="/assets/js/pusher.js?v=4"></script>
{% endif %} {% endif %}