From 668fb072fa1599431a2df250417116085d40181d Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 18 Jan 2014 11:22:48 -0500 Subject: [PATCH] updated cors feature --- .../HttpServer/HttpListenerHost.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs index 1a77985e40..54fb345eb4 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); }