mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) complete light sign-up flow for appsumo, and customize summaries
Summary: Current appsumo sign-up flow doesn't reach the billing pages. This diff nudges user on through that extra step. It also tweaks plan summaries to say what special appsumo features are in effect (member count prepaid for). Test Plan: manual Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2882
This commit is contained in:
@@ -41,6 +41,8 @@ export function checkSubdomainValidity(subdomain: string): void {
|
||||
}
|
||||
// 'docs-*' is reserved for personal orgs.
|
||||
if (subdomain.startsWith('docs-')) { throw new Error('Domain cannot use reserved prefix "docs-".'); }
|
||||
// 'o-*' is reserved for automatic org domains.
|
||||
if (subdomain.startsWith('o-')) { throw new Error('Domain cannot use reserved prefix "o-".'); }
|
||||
// 'doc-worker-*' is reserved for doc workers.
|
||||
if (subdomain.startsWith('doc-worker-')) { throw new Error('Domain cannot use reserved prefix "doc-worker-".'); }
|
||||
// special subdomains like _domainkey.
|
||||
|
||||
Reference in New Issue
Block a user