aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-18 11:22:48 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-01-18 11:22:48 -0500
commit668fb072fa1599431a2df250417116085d40181d (patch)
treec3bc76f13060d17815883ae2ac03a2af8af168f5 /MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
parent97ea9d60856f78db8247440874a63e33e93393db (diff)
updated cors feature
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
index 1a77985e4..54fb345eb 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -95,7 +95,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
container.Adapter = _containerAdapter;
Plugins.Add(new SwaggerFeature());
- Plugins.Add(new CorsFeature());
+ Plugins.Add(new CorsFeature(allowedHeaders: "Content-Type, Authorization"));
HostContext.GlobalResponseFilters.Add(new ResponseFilter(_logger).FilterResponse);
}