Quellcode durchsuchen

spacing is for nerds

Austin vor 7 Jahren
Ursprung
Commit
d56882e535
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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