mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Trim verbose host-check comments
This commit is contained in:
@@ -210,8 +210,6 @@ class Migrations extends Action
|
||||
|
||||
// Same projectId may collide with an external Appwrite — trust the DB fast
|
||||
// path only when the source URL targets this cluster's public or internal host.
|
||||
// Env values are run through parse_url too so a port suffix (appwrite:8080)
|
||||
// can't break equality with the port-stripped source host.
|
||||
$sourceHost = parse_url($credentials['endpoint'] ?? '', PHP_URL_HOST);
|
||||
$rawDomain = System::getEnv('_APP_DOMAIN', '');
|
||||
$rawMigrationHost = System::getEnv('_APP_MIGRATION_HOST', '');
|
||||
|
||||
Reference in New Issue
Block a user