fix: add healthcheck endpoint (#671)

This commit is contained in:
Lucas Smith
2023-11-22 15:46:21 +11:00
committed by GitHub
parent fbbc3b89c3
commit be0fe079a3
2 changed files with 22 additions and 4 deletions

View File

@ -4,12 +4,9 @@ import { documentRouter } from './document-router/router';
import { fieldRouter } from './field-router/router';
import { profileRouter } from './profile-router/router';
import { shareLinkRouter } from './share-link-router/router';
import { procedure, router } from './trpc';
import { router } from './trpc';
export const appRouter = router({
health: procedure.query(() => {
return { status: 'ok' };
}),
auth: authRouter,
profile: profileRouter,
document: documentRouter,