Skip to content

Commit

Permalink
Merge pull request #69 from G7DAO/ping-route
Browse files Browse the repository at this point in the history
Ping route
  • Loading branch information
kompotkot authored Sep 24, 2024
2 parents 2be3459 + af85771 commit 748421c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/protocol-api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ app.route('/').get((req: Request, res: Response) => {
res.send('Hello World!');
});

app.route('/ping').get((req: Request, res: Response) => {
res.send({ status: 'ok' });
});

app.use('/api', routes());

server
Expand Down

0 comments on commit 748421c

Please sign in to comment.