add tracker filter by lua

This commit is contained in:
xiaomlove
2025-05-01 21:42:31 +07:00
parent 3c3d395887
commit e5937d8ab3
6 changed files with 218 additions and 12 deletions

View File

@@ -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())));
});