Simplify Railway healthcheck

This commit is contained in:
2026-05-18 22:40:01 -05:00
parent 99810f0695
commit 8f183fc0ed
2 changed files with 6 additions and 2 deletions

View File

@@ -4,8 +4,8 @@
"builder": "RAILPACK"
},
"deploy": {
"healthcheckPath": "/api/health",
"healthcheckTimeout": 100,
"healthcheckPath": "/health",
"healthcheckTimeout": 300,
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}

View File

@@ -16,3 +16,7 @@ use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Route::get('/health', function () {
return response('ok', 200);
});