1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00

Fix request host missing

This commit is contained in:
Matej Bačo 2023-08-22 19:28:37 +02:00
parent 4fbb98b705
commit 4a2f10f938

View file

@ -106,7 +106,8 @@ function router(App $utopia, Database $dbForConsole, SwooleRequest $swooleReques
$headers = [
'Content-Type: application/json',
'Content-Length: ' . \strlen($body),
'X-Appwrite-Project: ' . $projectId
'X-Appwrite-Project: ' . $projectId,
'Host: ' . $host,
];
$ch = \curl_init();