|
|
@ -487,11 +487,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <inheritdoc />
|
|
|
|
/// Get the default CORS headers.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <param name="req"></param>
|
|
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
public IDictionary<string, string> GetDefaultCorsHeaders(HttpContext httpContext)
|
|
|
|
public IDictionary<string, string> GetDefaultCorsHeaders(HttpContext httpContext)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var origin = httpContext.Request.Headers["Origin"];
|
|
|
|
var origin = httpContext.Request.Headers["Origin"];
|
|
|
|