aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-28 13:42:48 +0100
committerChocobozzz <chocobozzz@cpy.re>2022-02-28 14:29:01 +0100
commit70a8e50a5d3df90cba615559b5aaba1536356f5a (patch)
tree66289e1d18baf2165e862584539a57c7e89eda41 /client/src/app/shared/shared-main
parent57d74ec83d64daaf2efc6a3dad8adbcfe1f59415 (diff)
downloadPeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.tar.gz
PeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.tar.zst
PeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.zip
Cleanup subtitle edition PR
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/video-caption/video-caption.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/video-caption/video-caption.service.ts b/client/src/app/shared/shared-main/video-caption/video-caption.service.ts
index 67eb09e4d..00ebe5bc6 100644
--- a/client/src/app/shared/shared-main/video-caption/video-caption.service.ts
+++ b/client/src/app/shared/shared-main/video-caption/video-caption.service.ts
@@ -7,8 +7,8 @@ import { objectToFormData, sortBy } from '@app/helpers'
7import { VideoService } from '@app/shared/shared-main/video' 7import { VideoService } from '@app/shared/shared-main/video'
8import { peertubeTranslate } from '@shared/core-utils/i18n' 8import { peertubeTranslate } from '@shared/core-utils/i18n'
9import { ResultList, VideoCaption } from '@shared/models' 9import { ResultList, VideoCaption } from '@shared/models'
10import { VideoCaptionEdit } from './video-caption-edit.model'
11import { environment } from '../../../../environments/environment' 10import { environment } from '../../../../environments/environment'
11import { VideoCaptionEdit } from './video-caption-edit.model'
12 12
13@Injectable() 13@Injectable()
14export class VideoCaptionService { 14export class VideoCaptionService {
@@ -69,6 +69,6 @@ export class VideoCaptionService {
69 } 69 }
70 70
71 getCaptionContent ({ captionPath }: Pick<VideoCaption, 'captionPath'>) { 71 getCaptionContent ({ captionPath }: Pick<VideoCaption, 'captionPath'>) {
72 return this.authHttp.get(`${environment.originServerUrl}${captionPath}`, { responseType: 'text' }) 72 return this.authHttp.get(environment.originServerUrl + captionPath, { responseType: 'text' })
73 } 73 }
74} 74}