Add connection error handling and improve modal component structure
This commit is contained in:
@@ -79,7 +79,7 @@ class Proxmox extends ClassServer
|
||||
'Content-Type' => 'application/json',
|
||||
])->withOptions([
|
||||
'verify' => $this->config('verify_ssl') ? true : false,
|
||||
])->$method($url, $data)->throw();
|
||||
])->timeout(15)->connectTimeout(5)->$method($url, $data)->throw();
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user