From dbf7a083cb0a7e7216e396994dd11ffd3c166ff2 Mon Sep 17 00:00:00 2001 From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com> Date: Wed, 30 Oct 2019 09:01:10 +0700 Subject: [PATCH 1/2] + blocked_services: add reddit --- home/blocked_services.go | 1 + 1 file changed, 1 insertion(+) diff --git a/home/blocked_services.go b/home/blocked_services.go index 4c9f4f93..90b55f0d 100644 --- a/home/blocked_services.go +++ b/home/blocked_services.go @@ -35,6 +35,7 @@ var serviceRulesArray = []svc{ {"vk", []string{"||vk.com^"}}, {"steam", []string{"||steam.com^"}}, {"epic_games", []string{"||epicgames.com^"}}, + {"reddit", []string{"||reddit.com^", "||redditstatic.com^", "||redditmedia.com^", "||redd.it^"}}, {"mail_ru", []string{"||mail.ru^"}}, {"tiktok", []string{ "||tiktok.com^", From 7c10cefdf9a3d421de2d7e88cfd4e647baf31e8b Mon Sep 17 00:00:00 2001 From: ArchiveBase <46082456+ArchiveBase@users.noreply.github.com> Date: Wed, 30 Oct 2019 09:05:44 +0700 Subject: [PATCH 2/2] + client: add reddit 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 5ce84c65..86e24dcb 100644 --- a/client/src/components/ui/Icons.js +++ b/client/src/components/ui/Icons.js @@ -120,6 +120,10 @@ const Icons = () => ( + + + + diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index ca19818e..e01d513d 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -285,6 +285,10 @@ export const SERVICES = [ id: 'epic_games', name: 'Epic Games', }, + { + id: 'reddit', + name: 'Reddit', + }, { id: 'ok', name: 'OK',