gma/nesta — Issue #103: Links to assets on same host should not include hostname
Author: gma
Created: 2012-03-06 17:02:27+00:00
State: open

If you run Nesta behind a proxy server (such as nginx) with caching enabled, the files that get cached to disk contain absolute links such as `http://127.0.0.1/css/master.css`. They ought to just show `/css/master.css`.

I imagine the same problem applies for links made to pages.

I strongly suspect we introduced this bug in #94, with the `url` helper from Sinatra.