浏览代码

spacing is for nerds

Austin 7 年之前
父节点
当前提交
d56882e535
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      routes/api.js

+ 3 - 3
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