tzulberti / Flask-PyPi-Proxy

A pypi proxy done using flask
42 stars 22 forks source link

Use `url_for` in templates #19

Open cuibonobo opened 9 years ago

cuibonobo commented 9 years ago

Remove absolute URLs and use the Flask url_for function instead. This is useful if you are running Flask-PyPi-Proxy behind a reverse proxy at a path other than /. There is an example snippet of this usage here.