blob: 9220ad1be6cd32219792cc4ebfc383c32bcfca61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# frozen_string_literal: true
# This module is used to return various SaaS related configurations
# which may be overridden in other variants of GitLab
module Gitlab
module Saas
def self.com_url
'https://gitlab.com'
end
def self.staging_com_url
'https://staging.gitlab.com'
end
def self.subdomain_regex
%r{\Ahttps://[a-z0-9]+\.gitlab\.com\z}.freeze
end
def self.dev_url
'https://dev.gitlab.org'
end
def self.registry_prefix
'registry.gitlab.com'
end
def self.customer_support_url
'https://support.gitlab.com'
end
def self.customer_license_support_url
'https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293'
end
def self.gitlab_com_status_url
'https://status.gitlab.com'
end
def self.about_pricing_url
"https://about.gitlab.com/pricing"
end
def self.about_pricing_faq_url
"https://about.gitlab.com/gitlab-com/#faq"
end
end
end
Gitlab::Saas.prepend_mod
|