summaryrefslogtreecommitdiff
path: root/pypi.wsgi
diff options
context:
space:
mode:
authorChristian Theune <ct@gocept.com>2013-06-13 15:41:12 +0200
committerChristian Theune <ct@gocept.com>2013-06-13 15:41:12 +0200
commitcf6d1629d1e480aa53a9c0c3ea2128303c8fdb82 (patch)
tree694abe407500558dcf0ad7832a91b53211d8f26f /pypi.wsgi
parented6f07a1fc2778617e74bdc63ab21003dfcd8b9e (diff)
downloaddecorator-cf6d1629d1e480aa53a9c0c3ea2128303c8fdb82.tar.gz
Allow serving the packages from the standalone wsgi application.
Diffstat (limited to 'pypi.wsgi')
-rw-r--r--pypi.wsgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypi.wsgi b/pypi.wsgi
index f954be3..2af6c38 100644
--- a/pypi.wsgi
+++ b/pypi.wsgi
@@ -96,7 +96,7 @@ def application(environ, start_response):
def site_fake(app, environ, start_response):
PATH_INFO = environ['PATH_INFO']
m = re.match('^/(pypi|simple|daytime|serversig|mirrors|id|oauth|'
- 'security)(.*)', PATH_INFO)
+ 'security|packages)(.*)', PATH_INFO)
if not m:
start_response("404 not found", [('Content-type', 'text/plain')])
return ['Not Found: %s' % PATH_INFO]