mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: domain create sites
This commit is contained in:
1 parent
853b730def
commit
ff3928839c
1 file changed
+1
-1
@@ -104,7 +104,7 @@ class CreateSite extends Base
|
||||
|
||||
if (!empty($sitesDomain)) {
|
||||
$ruleId = ID::unique();
|
||||
$routeSubdomain = $subdomain ?? ID::unique();
|
||||
$routeSubdomain = $subdomain || ID::unique();
|
||||
$domain = "{$routeSubdomain}.{$sitesDomain}";
|
||||
|
||||
$subdomain = Authorization::skip(fn () => $dbForConsole->findOne('rules', [
|
||||
|
||||
Reference in new issue
Block a user