From: Rigel Kent Date: Sun, 10 Jan 2021 21:19:51 +0000 (+0100) Subject: reflect location origin for application feed url in production X-Git-Tag: v3.0.1~38^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=04b2996bb0d7407ff500ab39fadd8e5b596c05e2;hp=eaf3367549f7e12d464c0fda5251640209e924cd;p=github%2FChocobozzz%2FPeerTube.git reflect location origin for application feed url in production --- diff --git a/client/src/app/+my-account/my-account-applications/my-account-applications.component.ts b/client/src/app/+my-account/my-account-applications/my-account-applications.component.ts index 756644990..5e9525fbb 100644 --- a/client/src/app/+my-account/my-account-applications/my-account-applications.component.ts +++ b/client/src/app/+my-account/my-account-applications/my-account-applications.component.ts @@ -14,7 +14,7 @@ export class MyAccountApplicationsComponent implements OnInit { feedUrl: string feedToken: string - private baseURL = environment.originServerUrl + private baseURL = environment.originServerUrl || window.location.origin constructor ( private authService: AuthService,