From f28d5655d807d5950bd8c83d7e6f6e38c7ac3ef7 Mon Sep 17 00:00:00 2001 From: vulet Date: Thu, 25 Jun 2020 20:09:07 +0800 Subject: [PATCH] fix(cmd): add WWW subdomain to whitelist --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index f391a5e..af08d07 100644 --- a/config.js +++ b/config.js @@ -12,11 +12,11 @@ module.exports = { nitter: { domain: 'nitter.net', userAgent: 'Mozilla/4.0 (compatible; Beep Boop)', - domains: [ 'nitter.net', 'twitter.com' ] + domains: [ 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com' ] }, invidious: { domain: 'invidio.us', userAgent: 'Mozilla/4.0 (compatible; Beep Boop)', - domains: [ 'invidio.us', 'youtube.com' ] + domains: [ 'invidio.us', 'www.invidio.us', 'youtube.com', 'www.youtube.com'] } };