Skip to content

Commit 33a286c

Browse files
authored
Merge pull request #1924 from numbersprotocol/fix-bubble-url
fix(details.page): iframe url
2 parents eb7e3a2 + 0c0fcc2 commit 33a286c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/features/home/details/details.page.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class DetailsPage {
184184
distinctUntilChanged(),
185185
map(detailedCapture => {
186186
const host = 'https://captureappiframe.bubbleapps.io';
187-
const path = 'version-test';
187+
const path = '';
188188
const params = `pid=${detailedCapture.id}&iframeLoadedFrom=CaptureApp`;
189189
// const params = `pid=288036ab-5768-4270-988b-a85d7bd11eb3&iframeLoadedFrom=CaptureApp`;
190190
const url = `${host}/${path}?${params}`;
@@ -210,7 +210,7 @@ export class DetailsPage {
210210
map(([detailedCapture]) => {
211211
const token = this.userToken;
212212
const host = 'https://captureappiframe.bubbleapps.io';
213-
const path = 'version-test/asset_page';
213+
const path = 'asset_page';
214214
const params = `pid=${detailedCapture.id}&token=${token}&iframeLoadedFrom=CaptureApp`;
215215
const url = `${host}/${path}?${params}`;
216216
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
@@ -257,7 +257,7 @@ export class DetailsPage {
257257

258258
iframeUrlFor(detailedCapture: any) {
259259
return this.sanitizer.bypassSecurityTrustResourceUrl(
260-
`https://captureappiframe.bubbleapps.io/version-test/asset_page?pid=${detailedCapture.id}`
260+
`https://captureappiframe.bubbleapps.io/asset_page?pid=${detailedCapture.id}`
261261
);
262262
}
263263

0 commit comments

Comments
 (0)