diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-28 13:42:48 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-02-28 14:29:01 +0100 |
commit | 70a8e50a5d3df90cba615559b5aaba1536356f5a (patch) | |
tree | 66289e1d18baf2165e862584539a57c7e89eda41 /client/src/app/shared | |
parent | 57d74ec83d64daaf2efc6a3dad8adbcfe1f59415 (diff) | |
download | PeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.tar.gz PeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.tar.zst PeerTube-70a8e50a5d3df90cba615559b5aaba1536356f5a.zip |
Cleanup subtitle edition PR
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/video-caption/video-caption.service.ts | 4 |
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' | |||
7 | import { VideoService } from '@app/shared/shared-main/video' | 7 | import { VideoService } from '@app/shared/shared-main/video' |
8 | import { peertubeTranslate } from '@shared/core-utils/i18n' | 8 | import { peertubeTranslate } from '@shared/core-utils/i18n' |
9 | import { ResultList, VideoCaption } from '@shared/models' | 9 | import { ResultList, VideoCaption } from '@shared/models' |
10 | import { VideoCaptionEdit } from './video-caption-edit.model' | ||
11 | import { environment } from '../../../../environments/environment' | 10 | import { environment } from '../../../../environments/environment' |
11 | import { VideoCaptionEdit } from './video-caption-edit.model' | ||
12 | 12 | ||
13 | @Injectable() | 13 | @Injectable() |
14 | export class VideoCaptionService { | 14 | export 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 | } |