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

Only force scheme and port when HTTPS is disallowed #6871

Merged
merged 1 commit into from Nov 19, 2021

Conversation

cvium
Copy link
Member

@cvium cvium commented Nov 19, 2021

It shouldn't force a scheme and/or port when https is allowed. The call to GetLocalApiUrl will decide that.

@thornbill
Copy link
Member

👍 I have confirmed this fixes the issue I was having with streaming from a HDHR tuner.

@crobibero crobibero closed this Nov 19, 2021
@crobibero crobibero reopened this Nov 19, 2021
@crobibero crobibero merged commit 752bb88 into jellyfin:master Nov 19, 2021
Comment on lines +1135 to +1136
var scheme = !allowHttps ? Uri.UriSchemeHttp : null;
int? port = !allowHttps ? HttpPort : null;
Copy link
Member

Choose a reason for hiding this comment

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

IMO, the negation should be removed

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.

None yet

5 participants