mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-11 13:10:41 +00:00
794c2ad5d9
MultiNode Ready for Testing
12 lines
462 B
JavaScript
12 lines
462 B
JavaScript
const RTLConfController = require("../controllers/RTLConf");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
const authCheck = require("./authCheck");
|
|
|
|
router.get("/rtlconf", RTLConfController.getRTLConfig);
|
|
router.post("/", authCheck, RTLConfController.updateUISettings);
|
|
router.get("/config/:nodeType", authCheck, RTLConfController.getConfig);
|
|
router.post("/updateSelNode", RTLConfController.updateSelectedNode);
|
|
|
|
module.exports = router;
|