Skip to content

Commit

Permalink
Merge pull request #160 from SpeciesFileGroup/development
Browse files Browse the repository at this point in the history
Add ping
  • Loading branch information
José Luis Pereira authored and GitHub committed Sep 27, 2023
2 parents 68e2c72 + b67c813 commit 0bb213e
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 0bb213e

Please sign in to comment.