diff --git a/website/app.yaml b/website/app.yaml index 8a1ff066..d4d46569 100644 --- a/website/app.yaml +++ b/website/app.yaml @@ -4,6 +4,12 @@ runtime: python api_version: 1 handlers: +- url: /static/tornado-0.1.tar.gz + script: website.py + +- url: /static/tornado-0.2.tar.gz + script: website.py + - url: /static/ static_dir: static diff --git a/website/static/tornado-0.1.tar.gz b/website/static/tornado-0.1.tar.gz deleted file mode 100644 index d06c1e04..00000000 Binary files a/website/static/tornado-0.1.tar.gz and /dev/null differ diff --git a/website/static/tornado-0.2.tar.gz b/website/static/tornado-0.2.tar.gz deleted file mode 100644 index 6aca327a..00000000 Binary files a/website/static/tornado-0.2.tar.gz and /dev/null differ diff --git a/website/website.py b/website/website.py index f073b67e..39b7aed4 100644 --- a/website/website.py +++ b/website/website.py @@ -52,6 +52,11 @@ settings = { } application = tornado.wsgi.WSGIApplication([ (r"/([a-z]*)", ContentHandler), + (r"/static/tornado-0.1.tar.gz", tornado.web.RedirectHandler, + dict(url="http://github.com/downloads/facebook/tornado/tornado-0.1.tar.gz")), + (r"/static/tornado-0.2.tar.gz", tornado.web.RedirectHandler, + dict(url="http://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz")), + ], **settings)