Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle server url with params correctly #1366

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jiyeyuran
Copy link

Change-Id: Id7c37483cf36acb15d662de82f0ddb6fc08f53b1

Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: 24845bc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Jan 9, 2025

CLA assistant check
All committers have signed the CLA.

@jiyeyuran jiyeyuran force-pushed the fix-url_with_params branch from f366e35 to 802996d Compare January 9, 2025 06:38
Change-Id: Icc11fab672200138ab11367671adc7565aa37a8a
@jiyeyuran jiyeyuran force-pushed the fix-url_with_params branch from 802996d to d313355 Compare January 9, 2025 07:06
@@ -294,11 +298,11 @@ export class SignalClient {
abortHandler();
}
abortSignal?.addEventListener('abort', abortHandler);
this.log.debug(`connecting to ${url + params}`, this.logContext);
this.log.debug(`connecting to ${urlObj}`, this.logContext);
Copy link
Contributor

@lukasIO lukasIO Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.log.debug(`connecting to ${urlObj}`, this.logContext);
this.log.debug(`connecting to ${urlObj.host}`, {
reconnect: opts.reconnect,
reconnectReason: opts.reconnectReason,
...this.logContext,
});

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

Change-Id: I4d6390be6deec8bc9037af515d172456ec257eee
@jiyeyuran jiyeyuran force-pushed the fix-url_with_params branch from 8ceadbd to 24845bc Compare January 11, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants