fix: Align health check path with Nginx proxy
This commit is contained in:
parent
fa89e6feb6
commit
5890732667
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ server.register(roomRoutes, { prefix: '/api/rooms' });
|
||||||
server.register(batchRoutes, { prefix: '/api/batches' });
|
server.register(batchRoutes, { prefix: '/api/batches' });
|
||||||
server.register(timeclockRoutes, { prefix: '/api/timeclock' });
|
server.register(timeclockRoutes, { prefix: '/api/timeclock' });
|
||||||
|
|
||||||
server.get('/healthz', async (request, reply) => {
|
server.get('/api/healthz', async (request, reply) => {
|
||||||
return { status: 'ok', timestamp: new Date().toISOString() };
|
return { status: 'ok', timestamp: new Date().toISOString() };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue