| |
@@ -6,7 +6,6 @@
|
| |
|
| |
{% block content %}
|
| |
{{submenu(edition="coreos", active="download")}}
|
| |
- <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/coreos-download.css') }}">
|
| |
<div class="bg-tranparent py-5">
|
| |
<div class="container">
|
| |
<div class="row align-items-center">
|
| |
@@ -32,7 +31,7 @@
|
| |
{% block js %}
|
| |
<!-- Use the Vue runtime build only,to avoid use of eval() in the full build,
|
| |
which is blocked by the CSP. -->
|
| |
- <script type="text/javascript" src="{{ url_for('static', filename='js/vue.runtime.min.js') }}"></script>
|
| |
- <script type="text/javascript" src="{{ url_for('static', filename='js/coreos-download.js') }}"></script>
|
| |
+ <script src="{{ url_for('static', filename='js/vue.runtime.min.js') }}"></script>
|
| |
+ <script src="{{ url_for('static', filename='js/coreos-download.js') }}"></script>
|
| |
{{ super() }}
|
| |
{% endblock %}
|
| |
The page at https://getfedora.org/en/coreos/download/ is currently showing (in Firefox):
The
coreos-download.css
file should not be included: missed this in PR #46.I have also removed
type="text/javascript"
from thescript
tags, as this is how it was before PR #46 (in commit https://pagure.io/fork/rfairley/fedora-web/websites/c/bf54659adf94794f82ee5a2372c72b55db3e1f3b).This is an attempt to fix the CSP errors - I have verified this through the Flask development server but not tested it against the CSP.