6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
import { Express, Router } from "express"
|
|
const router = Router();
|
|
|
|
export const commentRoute = (app: Express) => {
|
|
app.use('/comment', router);
|
|
} |