Content Security Policy

This commit is contained in:
2023-12-15 15:19:26 +01:00
parent 937bf9787c
commit b8c2bea4ae
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class Meals(db.Model):
scheduler = APScheduler()
app = create()
Talisman(app)
Talisman(app, content_security_policy={"default-src": ["*.paulmartin.cloud", '\'self\'']})
scheduler.init_app(app)
scheduler.start()
scheduler.api_enabled = True