Skip to content

Commit 49e9fd2

Browse files
fix(portal): load embedded call center app after deploy
1 parent a91d10d commit 49e9fd2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/example-apps/call-center/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>f-flow-example</title>
6-
<base href="/" />
6+
<base href="./" />
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<link rel="icon" type="image/x-icon" href="favicon.ico" />
99
<link

scripts/portal-pages.test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ describe('Portal prerendered pages', () => {
131131
assert.equal(response.status, 200);
132132
assert.match(response.contentType, /text\/html/u);
133133
assert.match(response.body, /<app-root/u);
134+
assert.match(response.body, /<base href="\.\/"/u);
134135
assert.match(response.body, /main\.js/u);
135136
});
136137
}

0 commit comments

Comments
 (0)