Skip to content

Commit

Permalink
Omit 'mobile.' and 'm.' in site alt replacements (#922)
Browse files Browse the repository at this point in the history
Resolves #921
  • Loading branch information
cazwacki authored Jan 3, 2023
1 parent 4f77f36 commit a760476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import re

SKIP_ARGS = ['ref_src', 'utm']
SKIP_PREFIX = ['//www.', '//mobile.', '//m.', 'www.']
SKIP_PREFIX = ['//www.', '//mobile.', '//m.', 'www.', 'mobile.', 'm.']
GOOG_STATIC = 'www.gstatic.com'
G_M_LOGO_URL = 'https://www.gstatic.com/m/images/icons/googleg.gif'
GOOG_IMG = '/images/branding/searchlogo/1x/googlelogo'
Expand Down

0 comments on commit a760476

Please sign in to comment.