mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fix mono build
This commit is contained in:
parent
10cb5a8bf6
commit
6a177d2147
@ -67,7 +67,7 @@ namespace MediaBrowser.Server.Mono
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
RunApplication(appPaths, logManager);
|
RunApplication(appPaths, logManager, options);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@ -115,14 +115,14 @@ namespace MediaBrowser.Server.Mono
|
|||||||
|
|
||||||
private static TaskCompletionSource<bool> _applicationTaskCompletionSource = new TaskCompletionSource<bool>();
|
private static TaskCompletionSource<bool> _applicationTaskCompletionSource = new TaskCompletionSource<bool>();
|
||||||
|
|
||||||
private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager)
|
private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, StartupOptions options)
|
||||||
{
|
{
|
||||||
SystemEvents.SessionEnding += SystemEvents_SessionEnding;
|
SystemEvents.SessionEnding += SystemEvents_SessionEnding;
|
||||||
|
|
||||||
// Allow all https requests
|
// Allow all https requests
|
||||||
ServicePointManager.ServerCertificateValidationCallback = _ignoreCertificates;
|
ServicePointManager.ServerCertificateValidationCallback = _ignoreCertificates;
|
||||||
|
|
||||||
_appHost = new ApplicationHost(appPaths, logManager, false, false);
|
_appHost = new ApplicationHost(appPaths, logManager, false, false, options);
|
||||||
|
|
||||||
Console.WriteLine ("appHost.Init");
|
Console.WriteLine ("appHost.Init");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user