Content Security Policy
This commit is contained in:
2
init.py
2
init.py
@ -71,7 +71,7 @@ class Meals(db.Model):
|
|||||||
|
|
||||||
scheduler = APScheduler()
|
scheduler = APScheduler()
|
||||||
app = create()
|
app = create()
|
||||||
Talisman(app)
|
Talisman(app, content_security_policy={"default-src": ["*.paulmartin.cloud", '\'self\'']})
|
||||||
scheduler.init_app(app)
|
scheduler.init_app(app)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
scheduler.api_enabled = True
|
scheduler.api_enabled = True
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>DualHub</title>
|
<title>DualHub</title>
|
||||||
<link rel="stylesheet" type="text/css" href={{ url_for("static", filename="style.css") }}>
|
<link rel="stylesheet" type="text/css" href={{ url_for("static", filename="style.css") }}>
|
||||||
<script async src="https://analytics.dev.paulmartin.cloud/script.js" data-website-id="459fa66e-e255-4393-8e89-ead8b1572d0d"></script>
|
<script async src="https://analytics.paulmartin.cloud/script.js" data-website-id="459fa66e-e255-4393-8e89-ead8b1572d0d"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<nav>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Vorlesungsplan</title>
|
<title>Vorlesungsplan</title>
|
||||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='cal.css') }}">
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='cal.css') }}">
|
||||||
<script async src="https://analytics.dev.paulmartin.cloud/script.js" data-website-id="459fa66e-e255-4393-8e89-ead8b1572d0d"></script>
|
<script async src="https://analytics.paulmartin.cloud/script.js" data-website-id="459fa66e-e255-4393-8e89-ead8b1572d0d"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user