You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-09-16 09:26:36 +02:00
fixed disabling of app.js cache.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using Nancy;
|
||||
using NzbDrone.Api.Extensions;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
@@ -19,7 +20,7 @@ namespace NzbDrone.Api.Frontend
|
||||
return;
|
||||
}
|
||||
|
||||
if (request.Url.Path.ToLower() == "app.js")
|
||||
if (request.Url.Path.EndsWith("app.js", StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
response.Headers.DisableCache();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user