mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-02 14:29:11 +02:00
fix(install): redirect to host_url install route on instanceConfig validation error
This commit is contained in:
parent
414b23a3b7
commit
99250b1868
1 changed files with 4 additions and 1 deletions
|
|
@ -156,7 +156,10 @@ class Install extends Controller
|
|||
|
||||
if (!$this->validate($rules)) {
|
||||
return redirect()
|
||||
->back()
|
||||
->to(
|
||||
(empty(host_url()) ? config('App')->baseURL : host_url()) .
|
||||
config('App')->installGateway
|
||||
)
|
||||
->withInput()
|
||||
->with('errors', $this->validator->getErrors());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue