Reference comments
This commit is contained in:
parent
45ad0f6bdf
commit
1d38b2ce6a
1 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue