completed IoT sensor

This commit is contained in:
newtbot
2023-12-27 00:34:59 +08:00
parent 4be58724d2
commit f8e9755c12
10 changed files with 139 additions and 67 deletions

View File

@ -0,0 +1,22 @@
//middleware
/*
const myLogger = function (req, res, next) {
console.log('LOGGED')
next()
}
// Apply the middleware to a specific route
app.use('/special-route', myLogger));
*/
const APIlogger = (req, res, next) => {
}
module.exports = { }