mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
added simple health check route
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user