adding application_root to css links

This commit is contained in:
manetta 2022-03-11 18:33:47 +01:00
parent 44818d981c
commit fd8b9aca5c
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{{ name }} in octomode</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
<link rel="stylesheet" type="text/css" href="{{ application_root }}static/main.css">
{% block head %}
{% endblock %}
</head>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>octomode</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
<link rel="stylesheet" type="text/css" href="{{ application_root }}static/main.css">
</head>
<body class="start-page">
<form action="{{ application_root }}" method="POST">