* add aspire

* add healthchecks
This commit is contained in:
Oda
2025-04-21 04:21:40 +07:00
committed by GitHub
parent 528c62a0a1
commit 3113e5d278
24 changed files with 427 additions and 100 deletions

View File

@@ -16,6 +16,10 @@ const plugin: FastifyPluginAsyncTypebox = async (fastify) => {
return { message: 'Welcome to the official Web3 Proxy API!' }
}
)
// Add health check endpoint
fastify.get('/health', async function () {
return { status: 'ok' }
})
}
export default plugin