Skip to content

fix: Replace access URL for built-in DERP servers #4197

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

Merged
merged 1 commit into from
Sep 26, 2022
Merged

Conversation

kylecarbs
Copy link
Member

Fixes #4195.

@kylecarbs kylecarbs requested a review from coadler September 25, 2022 17:52
@kylecarbs kylecarbs self-assigned this Sep 25, 2022
Comment on lines +217 to +222
if accessingPort == "" {
accessingPort = "80"
if c.URL.Scheme == "https" {
accessingPort = "443"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bit nested, I think it would be simpler as an if + else if

Copy link
Member Author

Choose a reason for hiding this comment

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

It'd be similarly nested tho, right?

@kylecarbs kylecarbs merged commit 39cf329 into main Sep 26, 2022
@kylecarbs kylecarbs deleted the fixaccessrelay branch September 26, 2022 17:56
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.

How to stop background tailscale tunneling from occurring
2 participants