mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
fix: renew HTTP cache entry if it already exists
This commit is contained in:
@@ -120,7 +120,7 @@ async fn http_cache_put(context: &Context, url: &str, response: &Response) -> Re
|
||||
context
|
||||
.sql
|
||||
.insert(
|
||||
"INSERT OR IGNORE INTO http_cache (url, expires, blobname, mimetype, encoding)
|
||||
"INSERT OR REPLACE INTO http_cache (url, expires, blobname, mimetype, encoding)
|
||||
VALUES (?, ?, ?, ?, ?)",
|
||||
(
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user