mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fixed domain lib
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ $utopia->init(function () use ($utopia, $request, $response, &$user, $project, $
|
||||
? $origin : 'localhost') . (!empty($port) ? ':'.$port : '');
|
||||
|
||||
$selfDomain = new Domain(Config::getParam('hostname'));
|
||||
$endDomain = new Domain($origin);
|
||||
$endDomain = new Domain((string)$origin);
|
||||
|
||||
Config::setParam('domainVerification',
|
||||
($selfDomain->getRegisterable() === $endDomain->getRegisterable()) &&
|
||||
|
||||
Reference in New Issue
Block a user