Skip to content

Commit

Permalink
fix: add forward slash
Browse files Browse the repository at this point in the history
  • Loading branch information
arteevraina committed Jan 2, 2023
1 parent 047fe98 commit 9c639ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def profile(username):
"profile.html", user=user, packages=[package for package in packages]
)

@app.route("users/<username>/<package_name>/delete", methods=["GET", "POST"])
@app.route("/users/<username>/<package_name>/delete", methods=["GET", "POST"])
def delete_package(username, package_name):
uuid = request.cookies.get("uuid")
if not uuid:
Expand Down

0 comments on commit 9c639ca

Please sign in to comment.