mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: api.js
This commit is contained in:
parent
fc1783fa12
commit
9a3c81b8bd
@ -37,13 +37,11 @@ routes.post('/upload', uploadController.upload, {
|
|||||||
// https://github.com/kartikk221/hyper-express/blob/6.2.4/docs/Server.md#server-constructor-options
|
// https://github.com/kartikk221/hyper-express/blob/6.2.4/docs/Server.md#server-constructor-options
|
||||||
max_body_length: parseInt(config.uploads.maxSize) * 1e6
|
max_body_length: parseInt(config.uploads.maxSize) * 1e6
|
||||||
})
|
})
|
||||||
routes.post('/uploadurls', uploadController.uploadUrls)
|
|
||||||
routes.post('/upload/delete', uploadController.delete)
|
routes.post('/upload/delete', uploadController.delete)
|
||||||
routes.post('/upload/bulkdelete', uploadController.bulkDelete)
|
routes.post('/upload/bulkdelete', uploadController.bulkDelete)
|
||||||
routes.post('/upload/finishchunks', uploadController.finishChunks)
|
routes.post('/upload/finishchunks', uploadController.finishChunks)
|
||||||
routes.get('/upload/get/:identifier', uploadController.get)
|
routes.get('/upload/get/:identifier', uploadController.get)
|
||||||
routes.post('/upload/:albumid', uploadController.upload)
|
routes.post('/upload/:albumid', uploadController.upload)
|
||||||
routes.post('/uploadurls/:albumid', uploadController.uploadUrls)
|
|
||||||
routes.get('/album/get/:identifier', albumsController.get)
|
routes.get('/album/get/:identifier', albumsController.get)
|
||||||
routes.get('/album/zip/:identifier', albumsController.generateZip)
|
routes.get('/album/zip/:identifier', albumsController.generateZip)
|
||||||
routes.get('/album/:id', albumsController.listFiles)
|
routes.get('/album/:id', albumsController.listFiles)
|
||||||
|
Loading…
Reference in New Issue
Block a user