<?php
header('Content-Type: application/json; charset=utf-8');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Pragma: no-cache');

$path = __DIR__ . '/status.json';
if (!file_exists($path)) {
  http_response_code(404);
  echo json_encode(['error' => 'status.json not found']);
  exit;
}

$raw = file_get_contents($path);
echo $raw;
?>