Skip to content

fix: fix app hostname returning port number #5441

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
Dec 15, 2022
Merged

Conversation

deansheather
Copy link
Member

If wildcard access URL was not set, and the access URL contained a port it would result in the app hostname endpoint incorrectly returning :8080 (or whatever the port was) instead of an empty string.

This would result in the frontend rendering the port forwarding button which wouldn't work.

Reported by a customer in Slack

@deansheather deansheather requested a review from f0ssel December 15, 2022 18:34
Copy link
Contributor

@f0ssel f0ssel left a comment

Choose a reason for hiding this comment

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

cool good test

@deansheather deansheather merged commit 787b8b2 into main Dec 15, 2022
@deansheather deansheather deleted the dean/fix-app-hostname branch December 15, 2022 18:43
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants