removed "url_for" to prevent proxy http/https missmatch

This commit is contained in:
Oscar Krause 2024-02-27 19:56:27 +01:00
parent 90c1ce979d
commit 161b48be8e
2 changed files with 12 additions and 12 deletions

View File

@ -9,23 +9,23 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<link rel="icon" href="{{ url_for('static', path='assets/img/favicons/favicon-32x32.png') }}" sizes="32x32" type="image/png"> <link rel="icon" href="/static/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="{{ url_for('static', path='assets/img/favicons/favicon-16x16.png') }}" sizes="16x16" type="image/png"> <link rel="icon" href="/static/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="manifest" href="{{ url_for('static', path='assets/img/favicons/manifest.json') }}"> <link rel="manifest" href="/static/assets/img/favicons/manifest.json">
<link rel="icon" href="{{ url_for('static', path='assets/img/favicons/favicon.ico') }}"> <link rel="icon" href="/static/assets/img/favicons/favicon.ico">
<link rel="apple-touch-icon" href="{{ url_for('static', path='assets/img/favicons/apple-touch-icon.png') }}" sizes="180x180"> <link rel="apple-touch-icon" href="/static/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
{% block styles %} {% block styles %}
{% endblock %} {% endblock %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', path='assets/css/custom.css') }}"> <link rel="stylesheet" type="text/css" href="/static/assets/css/custom.css">
</head> </head>
<body class="d-flex flex-column {% block body_class %}{% endblock %}"> <body class="d-flex flex-column {% block body_class %}{% endblock %}">
{% block body %} {% block body %}
{% endblock %} {% endblock %}
<script src="{{ url_for('static', path='assets/js/helper.js') }}"></script> <script src="/static/assets/js/helper.js"></script>
{% block scripts %} {% block scripts %}
{% endblock %} {% endblock %}

View File

@ -2,12 +2,12 @@
{% block styles %} {% block styles %}
{{ super() }} {{ super() }}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', path='assets/css/bootstrap.min.css') }}"> <link rel="stylesheet" type="text/css" href="/static/assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', path='assets/css/bootstrap-icons.min.css') }}"> <link rel="stylesheet" type="text/css" href="/static/assets/css/bootstrap-icons.min.css">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', path='assets/css/dashboard.css') }}"> <link rel="stylesheet" type="text/css" href="/static/assets/css/dashboard.css">
<script src="{{ url_for('static', path='assets/js/popper.min.js') }}"></script> <script src="/static/assets/js/popper.min.js"></script>
<script src="{{ url_for('static', path='assets/js/bootstrap.min.js') }}"></script> <script src="/static/assets/js/bootstrap.min.js"></script>
{% endblock %} {% endblock %}