mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(setupchecks): Use a lighter request to test connectivity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
762d969741
commit
cc3851f73c
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ class InternetConnectivity implements ISetupCheck {
|
|||
}
|
||||
|
||||
$siteArray = $this->config->getSystemValue('connectivity_check_domains', [
|
||||
'https://www.nextcloud.com', 'https://www.startpage.com', 'https://www.eff.org', 'https://www.edri.org'
|
||||
'https://connectivity.nextcloud.com', 'https://www.startpage.com', 'https://www.eff.org', 'https://www.edri.org'
|
||||
]);
|
||||
|
||||
foreach ($siteArray as $site) {
|
||||
|
|
@ -67,7 +67,7 @@ class InternetConnectivity implements ISetupCheck {
|
|||
}
|
||||
try {
|
||||
$client = $this->clientService->newClient();
|
||||
$client->get($site);
|
||||
$client->head($site);
|
||||
} catch (\Exception $e) {
|
||||
$this->logger->error('Cannot connect to: ' . $site, [
|
||||
'app' => 'internet_connection_check',
|
||||
|
|
|
|||
Loading…
Reference in a new issue