Skip to content

Commit

Permalink
feat: add index healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
arsaizdihar committed Jun 14, 2024
1 parent 3f4267a commit b1c8d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ app.use(
origin: env.ALLOWED_ORIGINS,
}),
);
app.get('/', (c) => c.json({ message: 'Server runs successfully' }));
app.route('/api', apiRouter);
app.doc('/doc', {
openapi: '3.1.0',
Expand Down

0 comments on commit b1c8d9c

Please sign in to comment.