Merge pull request 'refactor: 精簡 /health 回應欄位' (#15) from feature/health-endpoint into master
Deploy Production / deploy (push) Successful in 16s

Reviewed-on: #15
This commit was merged in pull request #15.
This commit is contained in:
2026-05-28 18:05:29 +00:00
-4
View File
@@ -27,10 +27,6 @@ Route::get('/health', function () {
return response()->json([
'status' => $healthy ? 'ok' : 'degraded',
'timestamp' => now()->toIso8601String(),
'environment' => app()->environment(),
'php_version' => PHP_VERSION,
'laravel' => app()->version(),
'memory_mb' => round(memory_get_usage(true) / 1024 / 1024, 2),
'checks' => $checks,
], $healthy ? 200 : 503);
});