From 70a8e50a5d3df90cba615559b5aaba1536356f5a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 28 Feb 2022 13:42:48 +0100 Subject: Cleanup subtitle edition PR --- .../src/app/shared/shared-main/video-caption/video-caption.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared') 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' import { VideoService } from '@app/shared/shared-main/video' import { peertubeTranslate } from '@shared/core-utils/i18n' import { ResultList, VideoCaption } from '@shared/models' -import { VideoCaptionEdit } from './video-caption-edit.model' import { environment } from '../../../../environments/environment' +import { VideoCaptionEdit } from './video-caption-edit.model' @Injectable() export class VideoCaptionService { @@ -69,6 +69,6 @@ export class VideoCaptionService { } getCaptionContent ({ captionPath }: Pick) { - return this.authHttp.get(`${environment.originServerUrl}${captionPath}`, { responseType: 'text' }) + return this.authHttp.get(environment.originServerUrl + captionPath, { responseType: 'text' }) } } -- cgit v1.2.3