Skip to content

Commit

Permalink
fix admin requests route
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Jul 8, 2024
1 parent 467694b commit 2b2da95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/server/routes/admin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ router.use((req, res, next)=>{



router.get("/admin/stats", isAdministrator, wrap(handleGetStats));
router.post("/admin/mailtest", isAdministrator, wrap(handleMailtest));
router.get("/stats", isAdministrator, wrap(handleGetStats));
router.post("/mailtest", isAdministrator, wrap(handleMailtest));

export default router;

0 comments on commit 2b2da95

Please sign in to comment.