diff --git a/app/__main__.py b/app/__main__.py index 67f82e5..3848299 100644 --- a/app/__main__.py +++ b/app/__main__.py @@ -4,9 +4,10 @@ from quart import Quart app = Quart("jos", static_folder="web/dist", static_url_path="/") -@app.route('/', methods=['GET'], defaults={'path': ''}) -@app.route('/', methods=['GET']) +@app.route("/", methods=["GET"], defaults={"path": ""}) +@app.route("/", methods=["GET"]) async def frontend(path): + """Serves the Vue.js frontend.""" return await app.send_static_file("index.html")