diff options
| author | Pitu <[email protected]> | 2017-01-18 02:40:14 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-18 02:40:14 -0300 |
| commit | 84ff2241ba81fc6a1a2201074d30f971dad8a0de (patch) | |
| tree | 8ec712f118fc7e553f170640e3c86760bbd2a2ec /routes/api.js | |
| parent | Better static routes (diff) | |
| download | host.fuwn.me-84ff2241ba81fc6a1a2201074d30f971dad8a0de.tar.xz host.fuwn.me-84ff2241ba81fc6a1a2201074d30f971dad8a0de.zip | |
Shit ton of things on this update
Diffstat (limited to 'routes/api.js')
| -rw-r--r-- | routes/api.js | 1 |
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)) |