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
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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