mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
text/javascript is obsolete. Fixes #1847
This commit is contained in:
parent
076f5199af
commit
2a3a63857c
@ -175,7 +175,7 @@ class CombineAssets
|
||||
|
||||
$combiner = $this->prepareCombiner($cacheInfo['files']);
|
||||
$contents = $combiner->dump();
|
||||
$mime = ($cacheInfo['extension'] == 'css') ? 'text/css' : 'text/javascript';
|
||||
$mime = ($cacheInfo['extension'] == 'css') ? 'text/css' : 'application/javascript';
|
||||
|
||||
header_remove();
|
||||
$response = Response::make($contents);
|
||||
|
Loading…
x
Reference in New Issue
Block a user