diff options
| author | Pitu <[email protected]> | 2017-01-17 19:05:00 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-17 19:05:00 -0300 |
| commit | ddb6d0df7dafb3da14ce1fd86e1838890432bb8d (patch) | |
| tree | 6b0636c57c12eb71103f63d9ee49d5531f2ebf72 /routes | |
| parent | Change from gallery to album (diff) | |
| download | host.fuwn.me-ddb6d0df7dafb3da14ce1fd86e1838890432bb8d.tar.xz host.fuwn.me-ddb6d0df7dafb3da14ce1fd86e1838890432bb8d.zip | |
Database now saves album
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') |