From dc00140b65642464b30ef8609b814deeed203719 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 18 May 2021 22:09:16 +0200 Subject: [PATCH] Fixed linting errors in backend --- app/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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")