From 91b33f6f41fc296f88c63e9f90432e5d60ad4733 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 4 Mar 2026 14:47:26 +0300 Subject: [PATCH] feat: register tests routes Made-with: Cursor --- src/app.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.ts b/src/app.ts index 916ec76..757f1da 100644 --- a/src/app.ts +++ b/src/app.ts @@ -8,6 +8,7 @@ import authPlugin from './plugins/auth.js'; import subscriptionPlugin from './plugins/subscription.js'; import { authRoutes } from './routes/auth.js'; import { profileRoutes } from './routes/profile.js'; +import { testsRoutes } from './routes/tests.js'; import { env } from './config/env.js'; import { randomUUID } from 'node:crypto'; @@ -77,6 +78,7 @@ export async function buildApp(): Promise { await app.register(subscriptionPlugin); await app.register(authRoutes, { prefix: '/auth' }); await app.register(profileRoutes, { prefix: '/profile' }); + await app.register(testsRoutes, { prefix: '/tests' }); app.get('/health', async () => ({ status: 'ok', timestamp: new Date().toISOString() }));