(feat) added handler
This commit is contained in:
parent
5b3c2d4ec7
commit
de7c0f7110
8 changed files with 203 additions and 32 deletions
|
|
@ -15,7 +15,7 @@ pub fn router(app_state: AppState) -> Router {
|
|||
Router::new()
|
||||
// GET /api/health — health-check эндпоинт
|
||||
.route("/api/health", get(handlers::health_handler))
|
||||
|
||||
.route("/api/test-token", get(handlers::test_token_handler))
|
||||
// Сюда добавим новые роуты по мере разработки:
|
||||
// .route("/api/accounts", get(handlers::accounts::get_accounts))
|
||||
// .route("/api/payments", post(handlers::payments::create_payment))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue