11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
|
import express from "express";
|
||
|
import { getCalendarItemsByTypes } from "../controller/publicController";
|
||
|
|
||
|
var router = express.Router({ mergeParams: true });
|
||
|
|
||
|
router.get("/calendar", async (req, res) => {
|
||
|
await getCalendarItemsByTypes(req, res);
|
||
|
});
|
||
|
|
||
|
export default router;
|