Skip to content

Conversation

rtablada
Copy link

When serving via a proxy like nginx (and without a port), location.port is an empty string. This means useCustomPort is currently set to true unintentionally. By checking that port is not an empty string this means that the proper 80/443 port is set on portless proxied requests

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.

1 participant