mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Copy Last-Modified from upstream
This commit is contained in:
parent
902798d868
commit
a92ee85dd7
|
@ -107,7 +107,7 @@ fun getServer(cache: DiskLruCache, serverSettings: ServerSettings, clientSetting
|
||||||
|
|
||||||
val editor = cache.edit(cacheId)
|
val editor = cache.edit(cacheId)
|
||||||
|
|
||||||
val lastModified = HTTP_TIME_FORMATTER.format(ZonedDateTime.now(ZoneOffset.UTC))
|
val lastModified = mdResponse.header("Last-Modified")!!
|
||||||
|
|
||||||
// A null editor means that this file is being written to
|
// A null editor means that this file is being written to
|
||||||
// concurrently so we skip the cache process
|
// concurrently so we skip the cache process
|
||||||
|
|
Loading…
Reference in a new issue