mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
add: gtm.
This commit is contained in:
@@ -39,3 +39,12 @@ export function isMultiRegionSupported(url: URL): boolean {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// there can be multiple internal cloud instances.
|
||||
export function isProductionCloud(url: URL): boolean {
|
||||
try {
|
||||
return url.hostname === 'cloud.appwrite.io';
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user