mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins2
This commit is contained in:
@@ -1810,11 +1810,12 @@ class SitesCustomServerTest extends Scope
|
||||
|
||||
$siteId2 = $site2['body']['$id'];
|
||||
|
||||
$sitesDomain = \explode(',', System::getEnv('_APP_DOMAIN_SITES', ''))[0];
|
||||
$rule = $this->client->call(Client::METHOD_POST, '/proxy/rules/site', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), [
|
||||
'domain' => $subdomain . '.' . System::getEnv('_APP_DOMAIN_SITES', ''),
|
||||
'domain' => $subdomain . '.' . $sitesDomain,
|
||||
'siteId' => $siteId2,
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user