Improved file downloading
This commit is contained in:
parent
3fb739c4e4
commit
59fb0eae4f
7 changed files with 83 additions and 196 deletions
|
@ -50,7 +50,7 @@ class Handler extends ExceptionHandler
|
|||
$e = new NotFoundHttpException($e->getMessage(), $e);
|
||||
}
|
||||
|
||||
if ($request->isXmlHttpRequest() || $request->ajax() || $request->is('/api/*')) {
|
||||
if ($request->isXmlHttpRequest() || $request->ajax() || $request->is('api/*') || $request->is('remote/*')) {
|
||||
|
||||
$exception = 'An exception occured while attempting to perform this action, please try again.';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue