mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 18:00:44 +01:00
11 lines
393 B
JavaScript
11 lines
393 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);
|
|
|
|
module.exports = router;
|