mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
fix mono build
This commit is contained in:
parent
10cb5a8bf6
commit
6a177d2147
@ -67,7 +67,7 @@ namespace MediaBrowser.Server.Mono
|
||||
|
||||
try
|
||||
{
|
||||
RunApplication(appPaths, logManager);
|
||||
RunApplication(appPaths, logManager, options);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@ -115,14 +115,14 @@ namespace MediaBrowser.Server.Mono
|
||||
|
||||
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;
|
||||
|
||||
// Allow all https requests
|
||||
ServicePointManager.ServerCertificateValidationCallback = _ignoreCertificates;
|
||||
|
||||
_appHost = new ApplicationHost(appPaths, logManager, false, false);
|
||||
_appHost = new ApplicationHost(appPaths, logManager, false, false, options);
|
||||
|
||||
Console.WriteLine ("appHost.Init");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user