mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fix webui on mono 3.x. Please don't use 3.x :(
This commit is contained in:
@@ -11,6 +11,9 @@ namespace Jackett
|
||||
{
|
||||
public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
|
||||
{
|
||||
if(null!= actionExecutedContext &&
|
||||
null!= actionExecutedContext.Response &&
|
||||
null!= actionExecutedContext.Response.Headers)
|
||||
actionExecutedContext.Response.Headers.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue()
|
||||
{
|
||||
NoStore = true,
|
||||
|
Reference in New Issue
Block a user