mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
committed by
GitHub
parent
0157326354
commit
23c8ecff37
@@ -1475,7 +1475,7 @@ namespace Emby.Server.Implementations
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string GetLocalApiUrl(ReadOnlySpan<char> host, bool forceHttp=false)
|
public string GetLocalApiUrl(ReadOnlySpan<char> host, bool forceHttp = false)
|
||||||
{
|
{
|
||||||
var url = new StringBuilder(64);
|
var url = new StringBuilder(64);
|
||||||
bool useHttps = EnableHttps && !forceHttp;
|
bool useHttps = EnableHttps && !forceHttp;
|
||||||
|
|||||||
Reference in New Issue
Block a user