diff options
| author | Pitu <[email protected]> | 2017-01-29 21:21:38 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-29 21:21:38 -0300 |
| commit | 116c04907ec159fafdd309f7ff3a4f0f60d5656a (patch) | |
| tree | a150b6906e769c72f02d2d08e40c7a745a7c7e7b /routes | |
| parent | New auth endpoints (diff) | |
| download | host.fuwn.me-116c04907ec159fafdd309f7ff3a4f0f60d5656a.tar.xz host.fuwn.me-116c04907ec159fafdd309f7ff3a4f0f60d5656a.zip | |
Derp
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/api.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/routes/api.js b/routes/api.js index 08a949e..07e13f0 100644 --- a/routes/api.js +++ b/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)) |