added simple health check route

This commit is contained in:
Oliver Bryan
2025-12-31 19:48:29 +00:00
parent c274ea9036
commit c8784de67e

View File

@@ -12,6 +12,7 @@ const main = async () => {
port: Number(PORT),
routes: {
"/": withCors(() => new Response(`title: eussi\ndev-mode: ${DEV}\nport: ${PORT}`)),
"/health": withCors(() => new Response("OK")),
"/auth/register": withCors(routes.authRegister),
"/auth/login": withCors(routes.authLogin),