Adjust the templates to handle canary on its own domain

This commit is contained in:
R. Tyler Croy 2017-12-15 07:54:34 -08:00
parent a156dc3288
commit 322bbe5dc0
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 2 additions and 6 deletions

View File

@ -1,9 +1,5 @@
:ruby
@url_root = '/'
if ENV['RACK_ENV'] == 'production'
@url_root = '/canary/'
end
!!! XML
!!!
%html
@ -48,8 +44,8 @@
.col-md-6
%p
© 2017
%a{:href => 'https://github.com/rtyler'}
R. Tyler Croy.
%a{:href => 'https://github.com/cloudbees'}
CloudBees Labs
.col-md-6
%p.text-right
%a{:href => 'https://twitter.com/codevalet'}