mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
response changes
This commit is contained in:
@@ -959,8 +959,6 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/preview')
|
||||
$contentType = (\array_key_exists($output, $outputs)) ? $outputs[$output] : $outputs['jpg'];
|
||||
|
||||
$response
|
||||
->addHeader('Expires', \date('D, d M Y H:i:s', \time() + (60 * 60 * 24 * 30)) . ' GMT')
|
||||
->addHeader('X-Appwrite-Cache', 'miss')
|
||||
->setContentType($contentType)
|
||||
->file($data, $contentType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user