Fix ai fetch again

This commit is contained in:
micalis
2026-07-26 14:19:56 +02:00
parent 0368d3ac6b
commit bda1bbc250
+2 -2
View File
@@ -11,7 +11,7 @@ header('Access-Control-Allow-Origin: *');
$services = [
['id' => 'gitea', 'name' => 'Gitea', 'url' => 'https://gitea.micalis.net/', 'timeout' => 5],
['id' => 'nextcloud', 'name' => 'Nextcloud', 'url' => 'https://nextcloud.micalis.net/', 'timeout' => 5],
['id' => 'ai', 'name' => 'AI', 'url' => 'https://ai.micalis.net/login', 'timeout' => 5],
['id' => 'ai', 'name' => 'AI', 'url' => 'https://ai.micalis.net/', 'timeout' => 5],
['id' => 'jellyfin', 'name' => 'Jellyfin', 'url' => 'https://jellyfin.micalis.net/', 'timeout' => 5],
['id' => 'amp', 'name' => 'AMP Game Panel', 'url' => 'https://amp.micalis.net/', 'timeout' => 5],
['id' => 'fluxer', 'name' => 'Fluxer', 'url' => 'https://chat.micalis.net/', 'timeout' => 5],
@@ -38,7 +38,7 @@ function checkService($url, $timeout = 5) {
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HEADER => true,
CURLOPT_NOBODY => true,
//CURLOPT_NOBODY => true,
CURLOPT_TIMEOUT => $timeout,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_FOLLOWLOCATION => true,