1. ewdurbin
  2. pypi

Commits

Donald Stufft  committed 3e13eda

fix

  • Participants
  • Parent commits ea52ea6
  • Branches production

Comments (0)

Files changed (1)

File webui.py

View file
         parts = path.split("/")
 
         if len(parts) < 5 and not path.endswith("/"):
-            raise Redirect(path + "/")
+            raise Redirect("/packages" + path + "/")
 
         # I expect that nginx will do the right thing if it doesn't find the
         # actual file when resolving the X-accel headers.