Deploy: 2026-05-23 01:28:41

This commit is contained in:
Hamza-Ayed
2026-05-23 01:28:41 +03:00
parent 57859ebd20
commit f684b58906
4 changed files with 78 additions and 19 deletions

View File

@@ -36,6 +36,14 @@ $router->get('/admin', function ($request, $response) {
exit;
});
// Serve plan.html roadmap on /roadmap path
$router->get('/roadmap', function ($request, $response) {
$response->setHeader('Content-Type', 'text/html; charset=utf-8');
$response->sendHeaders();
readfile(__DIR__ . '/plan.html');
exit;
});
// Health Check — no php_version or environment in production to avoid info disclosure
$router->get('/api/health', function ($request, $response) {
$response->json([