Skip to content

Commit 32009aa

Browse files
authored
fix(relay-proxy): respect protocol (#52)
1 parent 2f9d17d commit 32009aa

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dist/cjs/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports.default = {
1717
if (initParams === null || initParams === void 0 ? void 0 : initParams.relayProxyUrl) {
1818
try {
1919
var constructedUrl = new URL('/recorder.js', initParams.relayProxyUrl);
20-
initParams.host = constructedUrl.host;
20+
initParams.host = constructedUrl.origin;
2121
src = constructedUrl.toString();
2222
}
2323
catch (e) {

dist/cjs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)