mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Move phab docs to /documentation (#882)
This commit is contained in:
@@ -938,7 +938,7 @@ export function extractOrgParts(reqHost: string|undefined, reqPath: string): Org
|
||||
orgFromHost = getOrgFromHost(reqHost);
|
||||
if (orgFromHost) {
|
||||
// Some subdomains are shared, and do not reflect the name of an organization.
|
||||
// See https://phab.getgrist.com/w/hosting/v1/urls/ for a list.
|
||||
// See /documentation/urls.md for a list.
|
||||
if (/^(api|v1-.*|doc-worker-.*)$/.test(orgFromHost)) {
|
||||
orgFromHost = null;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ const BLACKLISTED_SUBDOMAINS = new Set([
|
||||
/**
|
||||
*
|
||||
* Checks whether the subdomain is on the list of forbidden subdomains.
|
||||
* See https://phab.getgrist.com/w/hosting/v1/urls/#organization-subdomains
|
||||
* See /documentation/urls.md#organization-subdomains
|
||||
*
|
||||
* Also enforces various sanity checks.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user