add: gtm.

This commit is contained in:
Darshan
2025-09-09 08:38:47 +05:30
parent d79a2e9b87
commit aa6f1bfb00
2 changed files with 14 additions and 4 deletions
+9
View File
@@ -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;
}
}