Fixed linting errors in backend
All checks were successful
continuous-integration/drone the build was successful

This commit is contained in:
Jef Roosens 2021-05-18 22:09:16 +02:00
parent 0d693847b1
commit dc00140b65
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F

View file

@ -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('/<path:path>', methods=['GET'])
@app.route("/", methods=["GET"], defaults={"path": ""})
@app.route("/<path:path>", methods=["GET"])
async def frontend(path):
"""Serves the Vue.js frontend."""
return await app.send_static_file("index.html")