1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Reference comments

This commit is contained in:
shimon 2022-07-31 13:20:56 +03:00
parent 45ad0f6bdf
commit 1d38b2ce6a

View file

@ -138,8 +138,9 @@ App::init(function (App $utopia, Request $request, Response $response, Document
->addHeader('Expires', \date('D, d M Y H:i:s', \time() + $timestamp) . ' GMT')
->addHeader('X-Appwrite-Cache', 'hit')
->setContentType($data['content-type'])
->file(base64_decode($data['payload']), $data['content-type'])
->send(base64_decode($data['payload']))
;
} else {
$response->addHeader('X-Appwrite-Cache', 'miss');
}