process external scans and check room exists

This commit is contained in:
Julian Krauser 2025-07-15 16:59:05 +02:00
parent 83ab0c4ea7
commit 70d03553d7
5 changed files with 149 additions and 1 deletions

View file

@ -1,5 +1,6 @@
import express from "express";
import {
checkScannerRoomExists,
getApplicationConfig,
getApplicationFavicon,
getApplicationIcon,
@ -18,6 +19,10 @@ router.post("/reportdamage", async (req, res) => {
res.send("TODO");
});
router.post("/checkscannerroom", async (req, res) => {
await checkScannerRoomExists(req, res);
});
router.get("/configuration", async (req, res) => {
await getApplicationConfig(req, res);
});