From d4da5aef0038ae546a62f39305f443881d741f7f Mon Sep 17 00:00:00 2001 From: yArna <82231420+yArna@users.noreply.github.com> Date: Wed, 18 Sep 2024 18:13:13 +0800 Subject: [PATCH] fix 'none' as hostname when 'data:' URLs --- src/tracker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracker/index.js b/src/tracker/index.js index 707594cf..d4446560 100644 --- a/src/tracker/index.js +++ b/src/tracker/index.js @@ -63,7 +63,7 @@ const getPayload = () => ({ website, - hostname, + hostname || 'none', screen, language, title: encode(title),