Verified Commit 59bbca69 authored by Jakob Moser's avatar Jakob Moser
Browse files

Make annotation more specific

parent 44d9fde1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ bp = Blueprint("main", __name__)

@bp.get("/", defaults={"_": ""})
@bp.get("/<path:_>")
def index(_: object) -> str:
def index(_: str) -> str:
    """
    Serve the index page at /*, i.e. at any path below / and at / itself.