Commit e423e6c7 authored by DJ Mountney's avatar DJ Mountney

Add defaults to gitlab.host light settings

In our full Settings initilizer we allow setting the host from the
Environment, and default to localhost.
parent 2504a8ab
......@@ -22,7 +22,7 @@ class LightSettings
end
def host
config['gitlab']['host']
config.dig('gitlab', 'host') || ENV['GITLAB_HOST'] || 'localhost'
end
def gl_subdomain?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment