From 717436b118bf467b2ebdb295c42bca3e2837d8c6 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 12 May 2025 20:25:34 +0300 Subject: [PATCH] debug --- app/controllers/general.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 3d39d201f0..95be7c90dd 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -91,14 +91,6 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, 'This domain cannot be used for security reasons. Please use any subdomain instead.', view: $errorView); } - var_dump([ - '$host' => $host, - '$previewHostname' => $previewHostname, - '$appDomainFunctions' => $appDomainFunctions, - '$appDomainSites' => $appDomainSites, - ] - ); - if (\str_ends_with($host, $appDomainFunctions) || \str_ends_with($host, $appDomainSites)) { $exception = new AppwriteException(AppwriteException::RULE_NOT_FOUND, 'This domain is not connected to any Appwrite resources. Visit domains tab under function/site settings to configure it.', view: $errorView);