diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/api.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routes/api.js b/routes/api.js index a759bf3..7a4480b 100644 --- a/routes/api.js +++ b/routes/api.js @@ -9,7 +9,6 @@ routes.get ('/check', (req, res, next) => { }) routes.get('/info', (req, res, next) => { - if(config.private === true) if(req.headers.auth !== config.clientToken) return res.status(401).send('not-authorized') |