Skip to content

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