Release Testing Day 1 (#1491)
* Fixed a bug where typeahead wouldn't automatically show results on relationship screen without an additional click. * Tweaked the code which checks if a modification occured to check on seconds rather than minutes * Clear cache will now clear temp/ directory as well. * Fixed an issue where Chrome was caching api responses when it shouldn't had. * Added a cleanup temp code * Ensure genres get removed during series scan when removed from metadata. * Fixed a bug where all epubs with a volume would show as Volume 0 in reading list * When a scan is in progress, don't let the user delete the library.
This commit is contained in:
parent
fb86ce4542
commit
d7f2661655
14 changed files with 112 additions and 32 deletions
|
|
@ -273,13 +273,14 @@ namespace API
|
|||
|
||||
app.Use(async (context, next) =>
|
||||
{
|
||||
context.Response.GetTypedHeaders().CacheControl =
|
||||
new Microsoft.Net.Http.Headers.CacheControlHeaderValue()
|
||||
{
|
||||
Public = false,
|
||||
MaxAge = TimeSpan.FromSeconds(10),
|
||||
};
|
||||
context.Response.Headers[Microsoft.Net.Http.Headers.HeaderNames.Vary] =
|
||||
// Note: I removed this as I caught Chrome caching api responses when it shouldn't have
|
||||
// context.Response.GetTypedHeaders().CacheControl =
|
||||
// new CacheControlHeaderValue()
|
||||
// {
|
||||
// Public = false,
|
||||
// MaxAge = TimeSpan.FromSeconds(10),
|
||||
// };
|
||||
context.Response.Headers[HeaderNames.Vary] =
|
||||
new[] { "Accept-Encoding" };
|
||||
|
||||
// Don't let the site be iframed outside the same origin (clickjacking)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue