aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-17 19:05:00 -0300
committerPitu <[email protected]>2017-01-17 19:05:00 -0300
commitddb6d0df7dafb3da14ce1fd86e1838890432bb8d (patch)
tree6b0636c57c12eb71103f63d9ee49d5531f2ebf72 /routes
parentChange from gallery to album (diff)
downloadhost.fuwn.me-ddb6d0df7dafb3da14ce1fd86e1838890432bb8d.tar.xz
host.fuwn.me-ddb6d0df7dafb3da14ce1fd86e1838890432bb8d.zip
Database now saves album
Diffstat (limited to 'routes')
-rw-r--r--routes/api.js1
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')