Merge pull request #4205 from mempool/mononaut/unfurl-fallback-no-cache

Unfurl fallback no-cache
This commit is contained in:
wiz authored and GitHub committed 2024-02-22 15:52:10 +09:00
commit 4d6b62c7de
1 file changed
+1
+1
View File
@@ -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');