diff --git a/source/server/routes/tags/index.ts b/source/server/routes/tags/index.ts index a4cb2444..c72a1359 100644 --- a/source/server/routes/tags/index.ts +++ b/source/server/routes/tags/index.ts @@ -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; \ No newline at end of file