Upgrade to 3.1.0
This commit is contained in:
@@ -187,7 +187,7 @@ class Response
|
||||
*/
|
||||
public static function file(string $file)
|
||||
{
|
||||
return new static(F::read($file), F::mime($file));
|
||||
return new static(F::read($file), F::extensionToMime(F::extension($file)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user