Skip to content

Commit

Permalink
fix(relay-proxy): respect protocol (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty authored Jul 2, 2024
1 parent 2f9d17d commit 32009aa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.default = {
if (initParams === null || initParams === void 0 ? void 0 : initParams.relayProxyUrl) {
try {
var constructedUrl = new URL('/recorder.js', initParams.relayProxyUrl);
initParams.host = constructedUrl.host;
initParams.host = constructedUrl.origin;
src = constructedUrl.toString();
}
catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 32009aa

Please sign in to comment.