We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef612f7 commit 5f4ccc0Copy full SHA for 5f4ccc0
src/Web.php
@@ -205,7 +205,7 @@ final public static function serve()
205
? realpath($publicDirectory . '/' . $originalScriptName)
206
: null;
207
if (!headers_sent()) {
208
- $mimeType = MimeType::extension($extension) ?: 'application/octet-stream';
+ $mimeType = MimeType::mime($extension) ?: 'application/octet-stream';
209
header('Content-Type: ' . $mimeType);
210
}
211
// if the script file name matches the original script file name
0 commit comments