Skip to content

Commit

Permalink
Add the alfred https ping endpoint (#3697)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzhu007 authored Sep 21, 2020
1 parent aed7770 commit 84edc74
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export function create(
}, (error) => response.status(400).end(error.toString()));
}

router.get("/ping", async (request, response) => {
response.sendStatus(200);
});

router.patch("/:tenantId/:id/root", async (request, response) => {
const validP = verifyRequest(request, tenantManager, storage);
returnResponse(validP, request, response, mapSetBuilder);
Expand Down

0 comments on commit 84edc74

Please sign in to comment.