fix 'none' as hostname when 'data:' URLs

This commit is contained in:
yArna 2024-09-18 18:13:13 +08:00 committed by GitHub
parent 1b6429f55b
commit d4da5aef00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@
const getPayload = () => ({ const getPayload = () => ({
website, website,
hostname, hostname || 'none',
screen, screen,
language, language,
title: encode(title), title: encode(title),