diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-10-08 01:58:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-08 01:58:15 -0400 |
| commit | 82c00b079df5ea7d9712f27c94852ba75bd552cc (patch) | |
| tree | 7f6128a0a9e84ba10fec160600f22b460ec5695b /MediaBrowser.Server.Implementations/HttpServer | |
| parent | e5bb2baa67d4b2dc216cf9c6b82d0e1c7997454a (diff) | |
| parent | 5cd3276775461d96d912d47fbae6857b887b98d0 (diff) | |
Merge pull request #2215 from MediaBrowser/dev
pass requested fields to data layer
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs index 2ebeb0d44..9ec671908 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -91,10 +91,11 @@ namespace MediaBrowser.Server.Implementations.HttpServer HostConfig.Instance.DebugMode = false; HostConfig.Instance.LogFactory = LogManager.LogFactory; + HostConfig.Instance.AllowJsonpRequests = false; // The Markdown feature causes slow startup times (5 mins+) on cold boots for some users // Custom format allows images - HostConfig.Instance.EnableFeatures = Feature.Html | Feature.Json | Feature.CustomFormat; + HostConfig.Instance.EnableFeatures = Feature.Html | Feature.Json | Feature.Xml | Feature.CustomFormat; container.Adapter = _containerAdapter; |
