mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
Resolve #234
This commit is contained in:
parent
3fd4cd5d33
commit
c8104739c1
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class ServiceActions
|
|||
&& \str_starts_with($oResponse->getHeader('content-type'), 'image/')
|
||||
) {
|
||||
$this->oActions->cacheByKey($sData);
|
||||
\header('Content-Type: '.$sContentType);
|
||||
\header('Content-Type: ' . $oResponse->getHeader('content-type'));
|
||||
\header('Cache-Control: public');
|
||||
\header('Expires: '.\gmdate('D, j M Y H:i:s', 2592000 + \time()).' UTC');
|
||||
\rewind($tmp);
|
||||
|
|
Loading…
Reference in a new issue