2024-10-27 11:47:13 +01:00
|
|
|
import express from "express";
|
2025-04-20 16:15:27 +02:00
|
|
|
import { getApplicationConfig, getCalendarItemsByTypes } from "../controller/publicController";
|
2024-10-27 11:47:13 +01:00
|
|
|
|
|
|
|
var router = express.Router({ mergeParams: true });
|
|
|
|
|
|
|
|
router.get("/calendar", async (req, res) => {
|
|
|
|
await getCalendarItemsByTypes(req, res);
|
|
|
|
});
|
|
|
|
|
2025-04-20 16:15:27 +02:00
|
|
|
router.get("/configuration", async (req, res) => {
|
|
|
|
await getApplicationConfig(req, res);
|
|
|
|
});
|
|
|
|
|
2024-10-27 11:47:13 +01:00
|
|
|
export default router;
|