diff --git a/arena-pre-intents.php b/arena-pre-intents.php index 58e0c39..6d38f04 100644 --- a/arena-pre-intents.php +++ b/arena-pre-intents.php @@ -3,10 +3,10 @@ opcache_invalidate(__FILE__,true); function arena_pre_check($msg) { require_once __DIR__ . "/wevia-strategic-guard.php"; if (is_strategic_question($msg)) return null; if (preg_match("/office|o365|outlook|warming.*compte/i", $msg) && !preg_match("/cloud|bridge/i", $msg)) { - $r = @file_get_contents("http://127.0.0.1:8443/api/office-admins.php?action=health"); + $r = @file_get_contents("http://127.0.0.1/api/office-admins.php?action=status"); $d = @json_decode($r, true); if ($d && isset($d["warming"])) return ["content"=>"OFFICE HUB: ".$d["warming"]." warming | ".$d["active"]." active | ".$d["pending"]." pending | ".$d["health"]." health | ".$d["sends"]." sends | total:".$d["total"]]; - return ["content"=>"OFFICE HUB: 911 warming | 1 active | 871 pending | 82% health | 192 sends"]; + return ["content"=>"OFFICE HUB: S95 health endpoint sync unavailable - run /api/office-admins.php?action=health manually"]; } if (preg_match("/test.*arena|arena.*test|arena.*fonctionn/i", $msg)) { $r = @file_get_contents("http://127.0.0.1:8443/api/wevia-arena-evolve.php?action=test");