mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix(install): redirect to host_url install route on instanceConfig validation error
This commit is contained in:
parent
414b23a3b7
commit
99250b1868
@ -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…
x
Reference in New Issue
Block a user