Fix broken metapackages -> modnames redirect

master
rubenwardy 2022-09-01 23:14:56 +01:00
parent 906ec3885a
commit 7bfb183578
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ bp = Blueprint("modnames", __name__)
@bp.route("/metapackages/<path:path>")
def mp_redirect(path):
return redirect(path.replace("/metapackages/", "/modnames/"))
return redirect("/modnames/" + path)
@bp.route("/modnames/")