From 891d11e31d0e78ed3ff17d539c6e3ef3be7a4a82 Mon Sep 17 00:00:00 2001 From: Frederic Ruget Date: Wed, 2 Jun 2021 09:49:42 +0000 Subject: [PATCH] Remove VideoController API version (it is not needed) Signed-off-by: Frederic Ruget --- appinfo/routes.php | 2 +- src/components/Videos.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index d074b0c60..2ded50273 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -25,7 +25,7 @@ 'ocs' => [ [ 'name' => 'video#getTracks', - 'url' => '/video/v1.0/tracks', + 'url' => '/video/tracks', 'verb' => 'GET', ] ] diff --git a/src/components/Videos.vue b/src/components/Videos.vue index fd4f00c18..5a36e72cc 100644 --- a/src/components/Videos.vue +++ b/src/components/Videos.vue @@ -154,7 +154,7 @@ export default { async fetchTracks() { try { const response = await axios.get( - generateOcsUrl('/apps/viewer/video/v1.0/tracks'), + generateOcsUrl('/apps/viewer/video/tracks'), { params: { videoPath: this.filename } } ) const davDir = dirname(this.davPath)