diff --git a/index.js b/index.js index 9f6e92b..3a25332 100644 --- a/index.js +++ b/index.js @@ -34,6 +34,7 @@ const auth = (req, res, next) => { next() }; +//server.use(auth); // API - Endpoint - Route server.get('/product/:id', auth, (req, res) => {