Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
feat: add endpoint to query status
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Apr 2, 2020
1 parent 2cddd1b commit e7a429a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ app.use('/api/maker', MakerController);
app.use('/api', UserController);
app.use('/api', WebhooksController);

app.use('/api/status', (req, res) => res.sendStatus(204));

app.post('/api/fetch_rankings', async (req, res) => {
if (process.env.API_KEY === req.query.key) {
const apps = await App.findAll();
Expand Down

0 comments on commit e7a429a

Please sign in to comment.