1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Upload a video to /videos/upload

This is an action, not a REST endpoint
This commit is contained in:
Chocobozzz 2017-09-07 21:46:44 +02:00
parent 0cee28c1b2
commit e95561cdf1
6 changed files with 49 additions and 28 deletions

View file

@ -92,7 +92,7 @@ videosRouter.put('/:id',
videosUpdateValidator,
updateVideoRetryWrapper
)
videosRouter.post('/',
videosRouter.post('/upload',
authenticate,
reqFiles,
videosAddValidator,