const express = require('express'); const router = express.Router(); router.get('/', (req, res) => { res.status(200).send("Debug"); }); router.get('/showconfig', (req, res)=>{ res.status(200).send('CONFIG DATA'); }); router.post('/clearscreen', (req, res)=>{ res.sendStatus(200); }); router.post('/resetconfig', (req, res)=> { res.status(200).send('CONFIG RESET'); }); module.exports = router;