Skip to content

Commit

Permalink
fix route names for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Jul 16, 2024
1 parent 93c7702 commit 30a7f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/server/routes/tags/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import getTag from "./tag/get.js";

const router = Router();

router.get("/tags", isUser, wrap(getTags));
router.get("/tags/:tag", isUser, wrap(getTag));
router.get("/", isUser, wrap(getTags));
router.get("/:tag", isUser, wrap(getTag));


export default router;

0 comments on commit 30a7f8d

Please sign in to comment.