Add Known Proxies to system configuration

This commit is contained in:
cvium
2020-09-10 11:05:46 +02:00
parent b76d4ba454
commit 78cab77f81
3 changed files with 19 additions and 3 deletions

View File

@@ -268,6 +268,11 @@ namespace MediaBrowser.Model.Configuration
/// </summary>
public string[] CorsHosts { get; set; }
/// <summary>
/// Gets or sets the known proxies.
/// </summary>
public string[] KnownProxies { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
/// </summary>
@@ -378,6 +383,7 @@ namespace MediaBrowser.Model.Configuration
EnableSlowResponseWarning = true;
SlowResponseThresholdMs = 500;
CorsHosts = new[] { "*" };
KnownProxies = Array.Empty<string>();
}
}