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

Unfurl fallback no-cache
This commit is contained in:
wiz 2024-02-22 15:52:10 +09:00 committed by GitHub
commit 4d6b62c7de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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');