Commit 9ff8b86e authored by Stan Hu's avatar Stan Hu

Merge branch 'default-gitlab-hosts' into 'master'

Update the gitlab_host light setting to match the defaults

Closes #33360

See merge request gitlab-org/gitlab!18091
parents 2c163449 e423e6c7
...@@ -22,7 +22,7 @@ class LightSettings ...@@ -22,7 +22,7 @@ class LightSettings
end end
def host def host
config['gitlab']['host'] config.dig('gitlab', 'host') || ENV['GITLAB_HOST'] || 'localhost'
end end
def gl_subdomain? 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