healthcheck endpoint

This commit is contained in:
Igor Rzegocki
2021-10-02 13:31:42 +02:00
parent 4e84a5c40c
commit d1e6f4a136
2 changed files with 46 additions and 0 deletions

View File

@@ -68,6 +68,9 @@ Route::group(
// Change email routes:
Route::get('profile/confirm-email-change/{token}', ['uses' => 'ProfileController@confirmEmailChange', 'as' => 'profile.confirm-email-change']);
Route::get('profile/undo-email-change/{token}/{oldAddressHash}', ['uses' => 'ProfileController@undoEmailChange', 'as' => 'profile.undo-email-change']);
// Healthcheck route:
Route::get('health', ['uses' => 'HealthcheckController@check', 'as' => 'healthcheck']);
}
);