From 55c920ecbf38699afa48b8f03a5cd9c932bd575f Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 8 Dec 2023 18:46:39 -0500 Subject: [PATCH] Add Constants.FRIENDLY_USER_AGENT --- src/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 18606f3..af2d5f9 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -67,5 +67,6 @@ export const Constants = { 'content-type': 'application/json' }, POLL_TWEET_CACHE: 'max-age=60', - DEFAULT_COLOR: '#10A3FF' + DEFAULT_COLOR: '#10A3FF', + FRIENDLY_USER_AGENT: `Mozilla/5.0 FixEmbedBot/1.0 (like Twitterbot; +https://fxtwitter.com/crawler)` };