From 9fba519a5a3cf9c295834c9eea3677b362fd7801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 30 Dec 2024 17:55:13 +0800 Subject: [PATCH] fix --- src/common/umami.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/umami.ts b/src/common/umami.ts index 1cbeeb1a..9e918875 100644 --- a/src/common/umami.ts +++ b/src/common/umami.ts @@ -71,7 +71,7 @@ export class UmamiTraceCore { website: this.website, hostname: this.hostname, title: 'NapCat ' + this.napcatVersion, - url: `/${this.qqversion}/${this.napcatVersion}/${this.workname}/${eventName}` + (!!data ? `/${data}` : ''), + url: `/${this.qqversion}/${this.napcatVersion}/${this.workname}/${eventName}` + (!!data ? `?data=${data}` : ''), referrer: this.referrer, }; this.sendRequest(payload);