mirror of https://github.com/codevalet/canary
Adjust the templates to handle canary on its own domain
This commit is contained in:
parent
a156dc3288
commit
322bbe5dc0
|
@ -1,9 +1,5 @@
|
||||||
:ruby
|
:ruby
|
||||||
@url_root = '/'
|
@url_root = '/'
|
||||||
if ENV['RACK_ENV'] == 'production'
|
|
||||||
@url_root = '/canary/'
|
|
||||||
end
|
|
||||||
|
|
||||||
!!! XML
|
!!! XML
|
||||||
!!!
|
!!!
|
||||||
%html
|
%html
|
||||||
|
@ -48,8 +44,8 @@
|
||||||
.col-md-6
|
.col-md-6
|
||||||
%p
|
%p
|
||||||
© 2017
|
© 2017
|
||||||
%a{:href => 'https://github.com/rtyler'}
|
%a{:href => 'https://github.com/cloudbees'}
|
||||||
R. Tyler Croy.
|
CloudBees Labs
|
||||||
.col-md-6
|
.col-md-6
|
||||||
%p.text-right
|
%p.text-right
|
||||||
%a{:href => 'https://twitter.com/codevalet'}
|
%a{:href => 'https://twitter.com/codevalet'}
|
||||||
|
|
Loading…
Reference in New Issue