Fix button icons by adding Bootstrap Icons CSS and updating CSP to allow CDN resources
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
966f97737b
commit
8c336ebf81
|
@ -59,9 +59,9 @@ if CSP_CUSTOM_CSS_HASH:
|
|||
csp = {
|
||||
'default-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'", "data:", "blob:"],
|
||||
'script-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
|
||||
'style-src': ["'self'", "'unsafe-inline'"],
|
||||
'style-src': ["'self'", "'unsafe-inline'", "cdn.jsdelivr.net"],
|
||||
'img-src': ["'self'", "data:", "blob:"],
|
||||
'font-src': ["'self'", "data:"],
|
||||
'font-src': ["'self'", "data:", "cdn.jsdelivr.net"],
|
||||
'connect-src': ["'self'", "*"],
|
||||
'manifest-src': "'self'",
|
||||
'object-src': "'none'", # Still explicitly disallow objects
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<title>{% block title %}Project Ploughshares - Transaction Management System{% endblock %}</title>
|
||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue