diff options
| author | Austin <[email protected]> | 2017-01-15 11:48:07 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-15 11:48:07 -0600 |
| commit | d56882e535406976e1a5d6aedae47198dfe2a95d (patch) | |
| tree | 39a5cee8d85292642751cef04291a30a1459477a | |
| parent | hello tab inserts my old friend (diff) | |
| download | host.fuwn.me-d56882e535406976e1a5d6aedae47198dfe2a95d.tar.xz host.fuwn.me-d56882e535406976e1a5d6aedae47198dfe2a95d.zip | |
spacing is for nerds
| -rw-r--r-- | routes/api.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/api.js b/routes/api.js index 5fbdcf1..248dfeb 100644 --- a/routes/api.js +++ b/routes/api.js @@ -9,7 +9,7 @@ routes.get ('/check', (req, res, next) => { return res.json({token: true}) }) -routes.get ('/info', (req, res, next) => { +routes.get ('/info', (req, res, next) => { if(config.TOKEN !== '') if(req.headers.auth !== config.TOKEN) @@ -21,7 +21,7 @@ routes.get ('/info', (req, res, next) => { }) routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next)) -routes.get ('/gallery', (req, res, next) => galleryController.list(req, res, next)) -routes.get ('/gallery/test', (req, res, next) => galleryController.test(req, res, next)) +routes.get ('/gallery', (req, res, next) => galleryController.list(req, res, next)) +routes.get ('/gallery/test', (req, res, next) => galleryController.test(req, res, next)) module.exports = routes |