diff options
Diffstat (limited to 'config/routes/directs/subscription_portal.rb')
-rw-r--r-- | config/routes/directs/subscription_portal.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/directs/subscription_portal.rb b/config/routes/directs/subscription_portal.rb index 188725d16c1..cc6a3d6b5c0 100644 --- a/config/routes/directs/subscription_portal.rb +++ b/config/routes/directs/subscription_portal.rb @@ -1,14 +1,14 @@ # frozen_string_literal: true direct :subscription_portal_staging do - ENV.fetch('STAGING_CUSTOMER_PORTAL_URL', 'https://customers.staging.gitlab.com') + ENV.fetch('STAGING_CUSTOMER_PORTAL_URL', Gitlab::SubscriptionPortal.default_staging_customer_portal_url) end direct :subscription_portal do default_subscriptions_url = if ::Gitlab.dev_or_test_env? subscription_portal_staging_url else - 'https://customers.gitlab.com' + Gitlab::SubscriptionPortal.default_production_customer_portal_url end ENV.fetch('CUSTOMER_PORTAL_URL', default_subscriptions_url) |