aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
-rw-r--r--MediaBrowser.Server.Startup.Common/ApplicationHost.cs14
1 files changed, 1 insertions, 13 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index e15b60d47..3867fc243 100644
--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
@@ -460,19 +460,7 @@ namespace MediaBrowser.Server.Startup.Common
RegisterSingleInstance<ISearchEngine>(() => new SearchEngine(LogManager, LibraryManager, UserManager));
- if (IsFirstRun)
- {
- ServerConfigurationManager.Configuration.EnableWin8HttpListener = false;
- ServerConfigurationManager.SaveConfiguration();
- _supportsNativeWebSocket = false;
- }
-
- if (!ServerConfigurationManager.Configuration.EnableWin8HttpListener)
- {
- _supportsNativeWebSocket = false;
- }
-
- HttpServer = ServerFactory.CreateServer(this, LogManager, "Media Browser", "web/index.html", false);
+ HttpServer = ServerFactory.CreateServer(this, LogManager, "Media Browser", "web/index.html");
RegisterSingleInstance(HttpServer, false);
progress.Report(10);