Fixed redirector root url
All checks were successful
Build dev on push / build-redirector (push) Successful in 29s
Build dev on push / build-api (push) Successful in 31s
Build dev on push / build-web (push) Successful in 48s

This commit is contained in:
Sven Heidemann 2025-01-09 22:51:08 +01:00
parent c3a1a4aa69
commit 49273dfa39

View File

@ -24,6 +24,9 @@ class Redirector(Flask):
app = Redirector(__name__) app = Redirector(__name__)
@app.route("/")
def index():
return render_template("404.html"), 404
@app.route("/<path:path>") @app.route("/<path:path>")
async def _handle_request(path: str): async def _handle_request(path: str):