diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index b3818c8de..983a27e11 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -657,7 +657,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
657 | : null, | 657 | : null, |
658 | authorizationHeader: () => this.authService.getRequestHeaderValue(), | 658 | authorizationHeader: () => this.authService.getRequestHeaderValue(), |
659 | 659 | ||
660 | serverUrl: environment.originServerUrl, | 660 | serverUrl: environment.originServerUrl || window.location.origin, |
661 | 661 | ||
662 | videoFileToken: () => videoFileToken, | 662 | videoFileToken: () => videoFileToken, |
663 | requiresAuth: videoRequiresAuth(video), | 663 | requiresAuth: videoRequiresAuth(video), |