]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/index.ts
Upload a video to /videos/upload
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / index.ts
index 3ec9d97bb531aa1b274a12b5726e42cc645d8a74..3a19fe989b303a448145d846e11291cc2e26dafd 100644 (file)
@@ -92,7 +92,7 @@ videosRouter.put('/:id',
   videosUpdateValidator,
   updateVideoRetryWrapper
 )
-videosRouter.post('/',
+videosRouter.post('/upload',
   authenticate,
   reqFiles,
   videosAddValidator,