Support more clients to display error embeds

This commit is contained in:
dangered wolf 2024-01-02 20:18:43 -05:00
parent bbe3424499
commit fe1e4b39ac
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -10,7 +10,7 @@ import { twitter } from './realms/twitter/router';
import { cacheMiddleware } from './caches';
const noCache = 'max-age=0, no-cache, no-store, must-revalidate';
const embeddingClientRegex = /(discordbot|telegrambot|facebook|whatsapp|firefox\/92|vkshare)/gi;
const embeddingClientRegex = /(discordbot|telegrambot|facebook|whatsapp|firefox\/92|vkshare|revoltchat|preview)/gi;
/* This is the root app which contains route trees for multiple "realms".