Set no-cache on unfurl failure fallback response

This commit is contained in:
Mononaut
2023-08-23 02:10:57 +09:00
parent b7474b29e4
commit ab8386adea

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