You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
476 B

import PromiseRouter from "express-promise-router";
import { ServerState } from "@server/state";
export function mosquitto(state: ServerState) {
const router = PromiseRouter();
router.post("/auth", async (req, res) => {
res.status(200).send();
});
router.post("/superuser", async (req, res) => {
res.status(200).send();
});
router.post("/acl", async (req, res) => {
res.status(200).send();
});
return router;
}