mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
add tracker filter by lua
This commit is contained in:
@@ -58,7 +58,7 @@ class Handler extends ExceptionHandler
|
||||
});
|
||||
|
||||
//Other Only handle in json request
|
||||
if (!$request->expectsJson()) {
|
||||
if (!$request->expectsJson() && !$request->ajax()) {
|
||||
$this->renderable(function (NexusException $e) use ($request) {
|
||||
return redirect(url('/error?error=' . urlencode($e->getMessage())));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user