Skip to content

Commit

Permalink
Add ping
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Sep 27, 2023
1 parent e77dca6 commit b67c813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export async function createServer(
)
}

app.use('/ping', async (req, res) => {
res.status(200).end('')
})

app.use('*', async (req, res) => {
try {
const url = req.originalUrl
Expand Down

0 comments on commit b67c813

Please sign in to comment.