Sha256: 0da1ea2210aff00bebd2f7a385ec75c1999e83a04c613c3a853e3eceeaed7a4f
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
rack_canonical = <<CANONICAL #Run heroku config:add CANONICAL_HOST=yourdomain.com #For more information, see: https://github.com/tylerhunt/rack-canonical-host#usage use Rack::CanonicalHost, ENV['CANONICAL_HOST'] if ENV['CANONICAL_HOST'] CANONICAL inject_into_file 'config.ru', rack_canonical, {after: "require ::File.expand_path('../config/environment', __FILE__)", verbose: false} git add: 'config.ru' git_commit 'Add rack-canonical-host.'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.15 | lib/pah/partials/_canonical_host.rb |
pah-0.0.14 | lib/pah/partials/_canonical_host.rb |