feat: add /api/sample route

This commit is contained in:
2024-10-13 22:56:22 +08:00
parent d3a40a04ab
commit 8bffef5ffe
2 changed files with 3 additions and 1 deletions

View File

@@ -1,10 +1,12 @@
import express from "express"
import user from "./controllers/user.js"
import sample from "./controllers/sample.js"
const router = express.Router({
caseSensitive: true
})
router.use("/user", user)
router.use("/sample", sample)
export default router