Pitu 8 年之前
父节点
当前提交
116c04907e
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      routes/api.js

+ 0 - 2
routes/api.js

@@ -15,8 +15,6 @@ routes.get ('/check', (req, res, next) => {
 routes.post ('/login', (req, res, next) => authController.verify(req, res, next))
 routes.post ('/register', (req, res, next) => authController.register(req, res, next))
 
-routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))
-
 routes.get  ('/uploads', (req, res, next) => uploadController.list(req, res))
 routes.get  ('/uploads/:page', (req, res, next) => uploadController.list(req, res))
 routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))