@@ -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
|
||||
|
||||
Reference in New Issue
Block a user