Merge pull request #4205 from mempool/mononaut/unfurl-fallback-no-cache
Unfurl fallback no-cache
This commit is contained in:
commit
4d6b62c7de
@ -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