StyleSheet: Modify send method to use setContentType of Response class
refs #12161
This commit is contained in:
parent
af5c578adf
commit
4df9696ed9
|
@ -197,7 +197,7 @@ class StyleSheet
|
|||
$response
|
||||
->setHeader('Cache-Control', 'public', true)
|
||||
->setHeader('ETag', $etag, true)
|
||||
->setHeader('Content-Type', 'text/css', true);
|
||||
->setContentType('text/css');
|
||||
|
||||
$cacheFile = 'icinga-' . $etag . ($minified ? '.min' : '') . '.css';
|
||||
$cache = FileCache::instance();
|
||||
|
|
Loading…
Reference in New Issue