templates/index.html: Use url_for to get CSS

This is apparently the way you do it in Flask.
This commit is contained in:
Alan Orth 2021-03-11 17:55:19 +02:00
parent b11296cb9c
commit 5086ea2376
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<title>CSV Metadata Quality Web</title> <title>CSV Metadata Quality Web</title>
<link href="/static/css/style.css" rel="stylesheet"> <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
</head> </head>
<body> <body>
<h1>File Upload</h1> <h1>File Upload</h1>