12 lines
393 B
PHP
12 lines
393 B
PHP
<?php
|
|
// Wave 222 · /api/oss-manifest.php · serves /opt/oss/manifest.json
|
|
@require_once __DIR__ . "/wevia-sanitizer-guard.php";
|
|
header("Content-Type: application/json; charset=utf-8");
|
|
header("Access-Control-Allow-Origin: *");
|
|
$path = "/opt/oss/manifest.json";
|
|
if (file_exists($path)) {
|
|
echo @file_get_contents($path);
|
|
} else {
|
|
echo json_encode(["error" => "manifest_not_found"]);
|
|
}
|