From c93cdd106e2c4febe91254c00de0bc0abe058c22 Mon Sep 17 00:00:00 2001 From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com> Date: Wed, 6 Nov 2019 19:07:28 +0700 Subject: [PATCH 1/2] + client: add cloudflare icon --- client/src/components/ui/Icons.js | 4 ++++ client/src/helpers/constants.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/client/src/components/ui/Icons.js b/client/src/components/ui/Icons.js index 978738e7..100e74de 100644 --- a/client/src/components/ui/Icons.js +++ b/client/src/components/ui/Icons.js @@ -112,6 +112,10 @@ const Icons = () => ( + + + + diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index 921f6966..4abc9bac 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -289,6 +289,10 @@ export const SERVICES = [ id: 'origin', name: 'Origin', }, + { + id: 'cloudflare', + name: 'Cloudflare', + }, { id: 'steam', name: 'Steam', From 36636867e18baf54c54a1a36f9d501a0f8bbeea4 Mon Sep 17 00:00:00 2001 From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com> Date: Thu, 7 Nov 2019 09:39:30 +0700 Subject: [PATCH 2/2] + blocked_services: add cloudflare --- home/blocked_services.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/home/blocked_services.go b/home/blocked_services.go index edf002c4..7b6b0693 100644 --- a/home/blocked_services.go +++ b/home/blocked_services.go @@ -38,6 +38,20 @@ var serviceRulesArray = []svc{ {"epic_games", []string{"||epicgames.com^"}}, {"reddit", []string{"||reddit.com^", "||redditstatic.com^", "||redditmedia.com^", "||redd.it^"}}, {"mail_ru", []string{"||mail.ru^"}}, + {"cloudflare", []string{ + "||cloudflare.com^", + "||cloudflare-dns.com^", + "||cloudflare.net^", + "||cloudflareinsights.com^", + "||cloudflarestream.com^", + "||cloudflareresolve.com^", + "||cloudflareclient.com^", + "||cloudflarebolt.com^", + "||cloudflarestatus.com^", + "||cloudflare.cn^", + "||one.one^", + "||warp.plus^", + }}, {"amazon", []string{ "||amazon.com^", "||media-amazon.com^",