<?php
require_once __DIR__ . '/../includes/app_config.php';
streambox_no_cache_headers();
header('Content-Type: application/json; charset=utf-8');
$path = __DIR__ . '/../cores.json';
if (!is_file($path)) {
    http_response_code(404);
    echo json_encode(['error' => 'colors_not_found']);
    exit;
}
readfile($path);
