Skip to content

Commit 7771269

Browse files
committed
fvaicon.ico may be anywhere
1 parent 660c55b commit 7771269

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/srv.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ def answer(topic=None):
160160
html_needed = is_html_needed(user_agent)
161161
options = parse_args(request.args)
162162

163-
if topic in ['apple-touch-icon-precomposed.png', 'apple-touch-icon.png', 'apple-touch-icon-120x120-precomposed.png']:
163+
if topic in ['apple-touch-icon-precomposed.png', 'apple-touch-icon.png', 'apple-touch-icon-120x120-precomposed.png'] \
164+
or (topic is not None and any(topic.endswith('/'+x) for x in ['favicon.ico'])):
164165
return ''
165166

166167
request_id = request.cookies.get('id')

0 commit comments

Comments
 (0)