]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
reflect location origin for application feed url in production
authorRigel Kent <sendmemail@rigelk.eu>
Sun, 10 Jan 2021 21:19:51 +0000 (22:19 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Sun, 10 Jan 2021 21:19:51 +0000 (22:19 +0100)
client/src/app/+my-account/my-account-applications/my-account-applications.component.ts

index 756644990b0ded4cbf48c3c5ac31d51c4cbc9fa8..5e9525fbbd8a2b954cc079856227a61dbb7ce953 100644 (file)
@@ -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,