mirror of
https://github.com/mempool/mempool.git
synced 2025-04-02 17:08:33 +02:00
Set no-cache on unfurl failure fallback response
This commit is contained in:
parent
b7474b29e4
commit
ab8386adea
@ -251,6 +251,7 @@ class Server {
|
||||
|
||||
if (!img) {
|
||||
// send local fallback image file
|
||||
res.set('Cache-control', 'no-cache');
|
||||
res.sendFile(nodejsPath.join(__dirname, matchedRoute.fallbackImg));
|
||||
} else {
|
||||
res.contentType('image/png');
|
||||
|
Loading…
x
Reference in New Issue
Block a user