diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/rails_host_authorization.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/initializers/rails_host_authorization.rb b/config/initializers/rails_host_authorization.rb new file mode 100644 index 00000000000..6afcec374db --- /dev/null +++ b/config/initializers/rails_host_authorization.rb @@ -0,0 +1,7 @@ +# 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 |