You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/08/26 02:53:45 UTC
[skywalking-client-js] 25/48: fix: rm report url
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-client-js.git
commit 2d1812a42df96b0ed7b7934a8e2b9f94bdba23e6
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Wed Jan 8 11:21:40 2020 +0800
fix: rm report url
---
src/services/report.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/services/report.ts b/src/services/report.ts
index 81b4a70..55ff209 100644
--- a/src/services/report.ts
+++ b/src/services/report.ts
@@ -27,8 +27,9 @@ class Report {
if (!this.checkUrl(this.url)) {
return;
}
- console.log(data);
+
delete data.reportUrl;
+ console.log(data);
try {
const xhr = new XMLHttpRequest();
xhr.open('POST', this.url, true);