fix(cmd): add WWW subdomain to whitelist

This commit is contained in:
vulet 2020-06-25 20:09:07 +08:00
parent 34b1f1b9d8
commit f28d5655d8

View file

@ -12,11 +12,11 @@ module.exports = {
nitter: { nitter: {
domain: 'nitter.net', domain: 'nitter.net',
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)', userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
domains: [ 'nitter.net', 'twitter.com' ] domains: [ 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com' ]
}, },
invidious: { invidious: {
domain: 'invidio.us', domain: 'invidio.us',
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)', userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
domains: [ 'invidio.us', 'youtube.com' ] domains: [ 'invidio.us', 'www.invidio.us', 'youtube.com', 'www.youtube.com']
} }
}; };