Update CSP to allow connections from cdnjs.cloudflare.com and enhance stat card styles with icons and improved layout
All checks were successful
Build & Push / Build & Push image (push) Successful in 38s
All checks were successful
Build & Push / Build & Push image (push) Successful in 38s
This commit is contained in:
@@ -95,7 +95,7 @@ def create_app():
|
||||
'style-src': ["'self'", "'unsafe-inline'"], # inline styles in templates (aanvaardbaar)
|
||||
'img-src': ["'self'", 'data:'],
|
||||
'font-src': ["'self'"],
|
||||
'connect-src': ["'self'"],
|
||||
'connect-src': ["'self'", 'cdnjs.cloudflare.com'],
|
||||
'form-action': ["'self'"], # voorkomt form hijacking
|
||||
'base-uri': ["'self'"], # voorkomt base tag injection
|
||||
'frame-ancestors': ["'none'"], # clickjacking preventie
|
||||
|
||||
Reference in New Issue
Block a user