From 234716f3baa77c61c187687d2b2b0d6432b80593 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Wed, 9 Feb 2022 06:42:01 +0300 Subject: [PATCH] Adding more exceptions to search #21 --- src/assets/javascripts/helpers/search.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/assets/javascripts/helpers/search.js b/src/assets/javascripts/helpers/search.js index d20d302..8cd6ef1 100644 --- a/src/assets/javascripts/helpers/search.js +++ b/src/assets/javascripts/helpers/search.js @@ -1,8 +1,7 @@ import commonHelper from './common.js' const targets = [ - /https:\/\/google\.com/, - /https:\/\/.*\.google\.com/, + /https:\/\/(www\.)google\.com\/$/, /https?:\/\/(((www|maps)\.)?(google\.).*(\/search)|search\.(google\.).*)/ ]; let redirects = {