diff --git a/api/endpoints/facts_collector.php b/api/endpoints/facts_collector.php index b168cce..96004b9 100644 --- a/api/endpoints/facts_collector.php +++ b/api/endpoints/facts_collector.php @@ -97,7 +97,7 @@ function collect_all(): array { // ── Proxmox ─────────────────────────────────────────────────────────── try { if (defined('PROXMOX_TOKEN_ID') && PROXMOX_TOKEN_ID) { - $base = 'https://' . PROXMOX_HOST . ':' . PROXMOX_PORT . '/api2/json'; + $base = 'https://orbisne.fortiddns.com:' . PROXMOX_PORT . '/api2/json'; $auth = 'Authorization: PVEAPIToken=' . PROXMOX_USER . '!' . PROXMOX_TOKEN_ID . '=' . PROXMOX_TOKEN_VAL; $nd = pve_api_get("{$base}/nodes/" . PROXMOX_NODE . "/status", $auth); diff --git a/api/endpoints/stats_cache.php b/api/endpoints/stats_cache.php index 2146582..f536708 100644 --- a/api/endpoints/stats_cache.php +++ b/api/endpoints/stats_cache.php @@ -36,7 +36,7 @@ function cacheStore(string $key, $data): void { // ── Proxmox ────────────────────────────────────────────────────────────── if (PROXMOX_HOST !== '10.48.200.X' && PROXMOX_TOKEN_VAL !== 'YOUR_TOKEN_VALUE_HERE') { - $pveBase = 'https://' . PROXMOX_HOST . ':' . PROXMOX_PORT . '/api2/json'; + $pveBase = 'https://orbisne.fortiddns.com:' . PROXMOX_PORT . '/api2/json'; $pveAuth = ['Authorization: PVEAPIToken=' . PROXMOX_USER . '!' . PROXMOX_TOKEN_ID . '=' . PROXMOX_TOKEN_VAL]; $nodeStatusRaw = curlGet("$pveBase/nodes/" . PROXMOX_NODE . "/status", $pveAuth);