Skip to content

Commit 9bb2f23

Browse files
committed
fix
1 parent 9eb14f3 commit 9bb2f23

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Http/Middleware/Impersonate.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function handle($request, $next)
3939

4040
!($response instanceof JsonResponse) &&
4141

42+
!$request->expectsJson() &&
43+
4244
$request->acceptsHtml()
4345
) {
4446

0 commit comments

Comments
 (0)