updated cors feature

This commit is contained in:
Luke Pulverenti 2014-01-18 11:22:48 -05:00
parent 97ea9d6085
commit 668fb072fa

View File

@ -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);
}