ok
This commit is contained in:
1 parent
d63ed3e7ef
commit
8f0f0cd36e
22 files changed
+1129
-1032
No files matched your search
@@ -5,6 +5,7 @@ import { config } from './config.js'
|
||||
import { authRoutes } from './routes/auth.js'
|
||||
import { cisesRoutes } from './routes/cises.js'
|
||||
import { updRoutes } from './routes/upd.js'
|
||||
import { plansRoutes } from './routes/plans.js'
|
||||
|
||||
const app = Fastify({ logger: true })
|
||||
|
||||
@@ -20,6 +21,7 @@ await app.register(multipart, {
|
||||
await app.register(authRoutes)
|
||||
await app.register(cisesRoutes)
|
||||
await app.register(updRoutes)
|
||||
await app.register(plansRoutes)
|
||||
|
||||
app.get('/health', async () => ({ status: 'ok', timestamp: new Date().toISOString() }))
|
||||
|
||||
|
||||
Reference in new issue
Block a user