Sha256: 4bdf678435d6b05d899d018b5c0d7fa2d25d4c6f544b3e345209b8d328cce77e
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 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 in_root do inject_into_file 'config.ru', rack_canonical, {after: "require ::File.expand_path('../config/environment', __FILE__)", verbose: false} end git add: 'config.ru' git_commit 'Add rack-canonical-host.'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.13 | lib/pah/partials/_canonical_host.rb |