Rack::ForceDomain: Because the alternati...
Rack::ForceDomain (or source on GitHub): Because the alternatives were too complex for my simple mind. Usage on the back of a stamp:
$ gem install rack-force_domain
$ heroku config add DOMAIN="foo.com"
use Rack::ForceDomain, ENV["DOMAIN"]
Post a comment