mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Add restart functionality to proxy deployment
This commit is contained in:
1 parent
4631c73809
commit
68fe886fb0
2 files changed
+28
No files matched your search
@@ -49,6 +49,14 @@ class Deploy extends Component
|
||||
{
|
||||
$this->server->refresh();
|
||||
}
|
||||
public function restart() {
|
||||
try {
|
||||
$this->stop();
|
||||
$this->dispatch('checkProxy');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
}
|
||||
public function checkProxy()
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user