diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-10 22:19:51 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-10 22:19:51 +0100 |
commit | 04b2996bb0d7407ff500ab39fadd8e5b596c05e2 (patch) | |
tree | 29648e77fbd15cb66c89d6e20d9c9c31bd76e898 | |
parent | eaf3367549f7e12d464c0fda5251640209e924cd (diff) | |
download | PeerTube-04b2996bb0d7407ff500ab39fadd8e5b596c05e2.tar.gz PeerTube-04b2996bb0d7407ff500ab39fadd8e5b596c05e2.tar.zst PeerTube-04b2996bb0d7407ff500ab39fadd8e5b596c05e2.zip |
reflect location origin for application feed url in production
-rw-r--r-- | client/src/app/+my-account/my-account-applications/my-account-applications.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
14 | feedUrl: string | 14 | feedUrl: string |
15 | feedToken: string | 15 | feedToken: string |
16 | 16 | ||
17 | private baseURL = environment.originServerUrl | 17 | private baseURL = environment.originServerUrl || window.location.origin |
18 | 18 | ||
19 | constructor ( | 19 | constructor ( |
20 | private authService: AuthService, | 20 | private authService: AuthService, |