Skip to content
Snippets Groups Projects
Commit 7225c069 authored by Mike Wyatt's avatar Mike Wyatt
Browse files

default gitlab.relative_url_root to ENV['RAILS_RELATIVE_URL_ROOT']

parent 5857a7a9
No related branches found
No related tags found
1 merge request!2870default gitlab.relative_url_root to ENV['RAILS_RELATIVE_URL_ROOT']
Loading
Loading
@@ -46,7 +46,7 @@ Settings.gitlab['default_projects_limit'] ||= 10
Settings.gitlab['host'] ||= 'localhost'
Settings.gitlab['https'] = false if Settings.gitlab['https'].nil?
Settings.gitlab['port'] ||= Settings.gitlab.https ? 443 : 80
Settings.gitlab['relative_url_root'] ||= ''
Settings.gitlab['relative_url_root'] ||= ENV['RAILS_RELATIVE_URL_ROOT'] || ''
Settings.gitlab['protocol'] ||= Settings.gitlab.https ? "https" : "http"
Settings.gitlab['email_from'] ||= "gitlab@#{Settings.gitlab.host}"
Settings.gitlab['support_email'] ||= Settings.gitlab.email_from
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment