Fix request host missing
This commit is contained in:
parent
4fbb98b705
commit
4a2f10f938
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ function router(App $utopia, Database $dbForConsole, SwooleRequest $swooleReques
|
||||||
$headers = [
|
$headers = [
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
'Content-Length: ' . \strlen($body),
|
'Content-Length: ' . \strlen($body),
|
||||||
'X-Appwrite-Project: ' . $projectId
|
'X-Appwrite-Project: ' . $projectId,
|
||||||
|
'Host: ' . $host,
|
||||||
];
|
];
|
||||||
|
|
||||||
$ch = \curl_init();
|
$ch = \curl_init();
|
||||||
|
|
Loading…
Reference in a new issue