mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 14:14:52 +00:00
fix: routing, switch back to old one
This commit is contained in:
1 parent
8c20c833ba
commit
f03aa57758
70 files changed
+961
-322
No files matched your search
@@ -47,7 +47,7 @@ class Handler extends ExceptionHandler
|
||||
if ($request->is('api/*') || $request->expectsJson() || $this->shouldReturnJson($request, $exception)) {
|
||||
return response()->json(['message' => $exception->getMessage()], 401);
|
||||
}
|
||||
return redirect()->guest($exception->redirectTo() ?? route('login'));
|
||||
return redirect()->guest($exception->redirectTo() ?? route('login'));
|
||||
}
|
||||
/**
|
||||
* Register the exception handling callbacks for the application.
|
||||
|
||||
Reference in new issue
Block a user