We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eb14f3 commit 9bb2f23Copy full SHA for 9bb2f23
1 file changed
src/Http/Middleware/Impersonate.php
@@ -39,6 +39,8 @@ public function handle($request, $next)
39
40
!($response instanceof JsonResponse) &&
41
42
+ !$request->expectsJson() &&
43
+
44
$request->acceptsHtml()
45
) {
46
0 commit comments