provide setting endbpoints

This commit is contained in:
Julian Krauser 2025-04-20 16:15:27 +02:00
parent a8edc19f34
commit 7aa9038a61
11 changed files with 137 additions and 13 deletions

View file

@ -1,5 +1,5 @@
import express from "express";
import { getCalendarItemsByTypes } from "../controller/publicController";
import { getApplicationConfig, getCalendarItemsByTypes } from "../controller/publicController";
var router = express.Router({ mergeParams: true });
@ -7,4 +7,8 @@ router.get("/calendar", async (req, res) => {
await getCalendarItemsByTypes(req, res);
});
router.get("/configuration", async (req, res) => {
await getApplicationConfig(req, res);
});
export default router;