diff --git a/app/index.php b/app/index.php index 9ba2fc7..f398008 100644 --- a/app/index.php +++ b/app/index.php @@ -86,6 +86,8 @@ function checkUpstream(string $host, int $port): bool { // ─── API handlers ───────────────────────────────────────────────────────────── if (isset($_GET['action'])) { + while (@ob_end_clean()); + ini_set('display_errors', 0); header('Content-Type: application/json'); switch ($_GET['action']) {