redirect wrong url after exception
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
After I installed dingo, `\App\Exceptions\Handler` can't work. But I need to do some redirect while some exceptions throw like below.
```
app('Dingo\Api\Exception\Handler')->register(function (CustomException $exception) {
$url = '';
return redirect($url);
});
```
But I the redirect have to redirect to a blank page with redirect infomation first, then redirect to where I want.
So, anybody know how to keep the normal redirect functions? I just want to redirect the url directly.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.