process external scans and check room exists
This commit is contained in:
parent
83ab0c4ea7
commit
70d03553d7
5 changed files with 149 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue