mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: redirect to server index instead of show on error in Advanced and DockerCleanup components
This commit is contained in:
parent
e0aeb35316
commit
a771993d97
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ class Advanced extends Component
|
|||
$this->parameters = get_route_parameters();
|
||||
$this->syncData();
|
||||
} catch (\Throwable) {
|
||||
return redirect()->route('server.show');
|
||||
return redirect()->route('server.index');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class DockerCleanup extends Component
|
|||
$this->parameters = get_route_parameters();
|
||||
$this->syncData();
|
||||
} catch (\Throwable) {
|
||||
return redirect()->route('server.show');
|
||||
return redirect()->route('server.index');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue