11 lines
216 B
TypeScript
11 lines
216 B
TypeScript
import { Router } from "express";
|
|
import jwtauth from "../../middlewares/jwtauth";
|
|
|
|
const router = Router();
|
|
|
|
router.use("*", jwtauth, async (req, res, next) => {
|
|
return res.send("ok");
|
|
});
|
|
|
|
export default router;
|