Move your js
and css
folders into a folder called static
. Then on line 10 of main.py
:
app = Flask(__name__, '/static')
and in index.html
:
<link rel="stylesheet" href="../static/css/style.css">
<script src="../static/js/script.js"></script>
Not sure if this will fix anything, but if it does, please mark my post as solution so the thread can close.