diff options
| author | Pitu <[email protected]> | 2017-02-07 04:32:55 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-02-07 04:32:55 -0300 |
| commit | e05a7c751e499f8b5c347d1ad71692ffa5848442 (patch) | |
| tree | f2c1cd31749684ca9fa18995a58fd0fbea8bc184 /routes/api.js | |
| parent | Merge pull request #11 from PascalTemel/master (diff) | |
| download | host.fuwn.me-e05a7c751e499f8b5c347d1ad71692ffa5848442.tar.xz host.fuwn.me-e05a7c751e499f8b5c347d1ad71692ffa5848442.zip | |
Added public album sharing :ok_hand:
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 5aa10ea..b3ff798 100644 --- a/routes/api.js +++ b/routes/api.js @@ -22,6 +22,7 @@ routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, ne routes.post ('/upload/delete', (req, res, next) => uploadController.delete(req, res, next)) routes.post ('/upload/:albumid', (req, res, next) => uploadController.upload(req, res, next)) +routes.get ('/album/get/:identifier', (req, res, next) => albumsController.get(req, res, next)) routes.get ('/album/:id', (req, res, next) => uploadController.list(req, res, next)) routes.get ('/album/:id/:page', (req, res, next) => uploadController.list(req, res, next)) |