mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 11:47:28 +01:00
Fix broken metapackages -> modnames redirect
This commit is contained in:
parent
906ec3885a
commit
7bfb183578
@ -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/")
|
||||
|
Loading…
Reference in New Issue
Block a user