aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-18 02:40:14 -0300
committerPitu <[email protected]>2017-01-18 02:40:14 -0300
commit84ff2241ba81fc6a1a2201074d30f971dad8a0de (patch)
tree8ec712f118fc7e553f170640e3c86760bbd2a2ec /routes
parentBetter static routes (diff)
downloadhost.fuwn.me-84ff2241ba81fc6a1a2201074d30f971dad8a0de.tar.xz
host.fuwn.me-84ff2241ba81fc6a1a2201074d30f971dad8a0de.zip
Shit ton of things on this update
Diffstat (limited to 'routes')
-rw-r--r--routes/api.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/api.js b/routes/api.js
index ca9c7c0..523af72 100644
--- a/routes/api.js
+++ b/routes/api.js
@@ -14,6 +14,7 @@ routes.get ('/check', (req, res, next) => {
routes.get ('/uploads', (req, res, next) => uploadController.list(req, res))
routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))
routes.get ('/albums', (req, res, next) => albumsController.list(req, res, next))
+routes.post ('/albums', (req, res, next) => albumsController.create(req, res, next))
routes.get ('/albums/test', (req, res, next) => albumsController.test(req, res, next))
routes.get ('/token/verify', (req, res, next) => tokenController.verify(req, res))