<?php
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json');

echo json_encode([
    'status' => 'ok',
    'app' => 'justsale',
    'server_ip' => $_SERVER['SERVER_ADDR'] ?? 'Unknown'
]);
?>
