gitlab-org--gitlab-foss/config/initializers/rails_host_authorization.rb

7 lines
179 B
Ruby

# frozen_string_literal: true
# This file requires config/initializers/1_settings.rb
if Rails.env.development?
Rails.application.config.hosts << Gitlab.config.gitlab.host
end