Skip to content

Commit

Permalink
fixup! enh: WIP - migrate .well-known URL setup check to new API
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Feb 12, 2024
1 parent 06c2483 commit cb113db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/SetupChecks/WellKnownUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getName(): string {

private function checkGetUrl(string $url, array $validStatuses = [200, 404]): bool {
$client = $this->httpClientService->newClient();
$response = $client->get($this->urlGenerator->getAbsoluteURL($url));
$response = $client->get($this->urlGenerator->getAbsoluteURL($url), ['verify' => false, 'http_errors' => false]);
if (!in_array($response->getStatusCode(), $validStatuses)) {
return false;
}
Expand Down

0 comments on commit cb113db

Please sign in to comment.