Set config via env for dashboard spec

This commit is contained in:
kirby@puppetlabs.com 2018-07-11 16:57:06 -07:00
parent 528020fec7
commit b4bae80eeb
2 changed files with 2 additions and 1 deletions

View file

@ -7,7 +7,7 @@ module Vmpooler
get '/dashboard/?' do
erb :dashboard, locals: {
site_name: config[:config]['site_name'] || '<b>vmpooler</b>'
site_name: ENV['SITE_NAME'] || config[:config]['site_name'] || '<b>vmpooler</b>'
}
end
end