Commit a7cded48 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'add-docker-for-mac-localhost-host' into 'master'

Add docker.for.mac.localhost to allowed hosts for dev

See merge request gitlab-org/gitlab!80806
parents 8c39913d a31de3c7
......@@ -8,7 +8,7 @@ if Gitlab.config.gitlab.allowed_hosts.present?
end
if Rails.env.development?
Rails.application.config.hosts += [Gitlab.config.gitlab.host, 'unix', 'host.docker.internal']
Rails.application.config.hosts += [Gitlab.config.gitlab.host, 'unix', 'host.docker.internal', 'docker.for.mac.localhost']
if ENV['RAILS_HOSTS']
additional_hosts = ENV['RAILS_HOSTS'].split(',').select(&:presence)
......
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