File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ const PADDLE_PRICES_URL = '{{ .Site.Params.paddlePricesUrl }}';
1414const PADDLE_DISCOUNT_ID = '{{ .Site.Params.paddleDiscountId }}' ;
1515const PADDLE_DISCOUNT_CODE = '{{ .Site.Params.paddleDiscountCode }}' ;
1616const LEGACY_STORE_URL = '{{ .Site.Params.legacyStoreUrl }}' ;
17+ const HUB_MANAGED_DOMAIN = '{{ .Site.Params.hubManagedDomain }}' ;
1718const STRIPE_PK = '{{ .Site.Params.stripePk }}' ;
Original file line number Diff line number Diff line change @@ -134,5 +134,5 @@ class HubManaged {
134134}
135135
136136function subdomainToURL ( subdomain ) {
137- return `https://${ subdomain } .cryptomator.cloud ` ;
137+ return `https://${ subdomain } .${ HUB_MANAGED_DOMAIN } ` ;
138138}
Original file line number Diff line number Diff line change 11# API
22apiBaseUrl : http://localhost:3300
33legacyStoreUrl : http://localhost:8787/api
4+ hubManagedDomain : staging.cryptomator.cloud
45
56# UMAMI
67umamiWebsiteId : 57a36f3a-bd97-4d8a-9563-0e8d39ddb20c
Original file line number Diff line number Diff line change 11# API
22apiBaseUrl : https://api.cryptomator.org
33legacyStoreUrl : https://store.cryptomator.org/api
4+ hubManagedDomain : cryptomator.cloud
45
56# UMAMI
67umamiWebsiteId : 8d451e39-ffb2-4697-82c9-9f69eff497f1
Original file line number Diff line number Diff line change 11# API
22apiBaseUrl : https://api.staging.cryptomator.org
33legacyStoreUrl : https://store.staging.cryptomator.org/api
4+ hubManagedDomain : staging.cryptomator.cloud
45
56# UMAMI
67umamiWebsiteId : 57a36f3a-bd97-4d8a-9563-0e8d39ddb20c
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ <h2 class="font-h2 mb-6">
9898 < p class ="font-p text-sm mb-2 ">
9999 {{ i18n "hub_managed_step_2_url_description" }}
100100 </ p >
101- < input type ="text " class ="block input-box w-full mb-8 " :value ="submitData.subdomain ? subdomainToURL(submitData.subdomain) : 'https://<{{ i18n "hub_managed_step_2_subdomain_placeholder " }}> .cryptomator.cloud '" readonly>
101+ < input type ="text " class ="block input-box w-full mb-8 " :value ="submitData.subdomain ? subdomainToURL(submitData.subdomain) : 'https://<{{ i18n "hub_managed_step_2_subdomain_placeholder " }}> .{{ .Site.Params.hubManagedDomain }} '" readonly>
102102 < div class ="mt-auto ">
103103 < p :class ="{'hidden': !feedbackData.errorMessage} " class ="text-sm text-red-600 mb-2 " x-text ="feedbackData.errorMessage "> </ p >
104104 < button :disabled ="feedbackData.inProgress " @click.prevent ="hubManaged.validateSubdomain() " class ="btn btn-primary w-full md:w-64 " data-umami-event ="hub-managed-step-2 ">
You can’t perform that action at this time.
0 commit comments