provide setting endbpoints
This commit is contained in:
parent
a8edc19f34
commit
7aa9038a61
11 changed files with 137 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue