Commit 3d007a12 authored by fanxuehui's avatar fanxuehui

fix(header):

parent 6996a6f0
......@@ -110,11 +110,11 @@ class Reporter {
return;
}
try {
fetch(`${this.environmentUrl}/behavior/record`, {
// fetch(`http://localhost:3000/behavior/record`, {
// fetch(`${this.environmentUrl}/behavior/record`, {
fetch(`http://localhost:3000/behavior/record`, {
method: "POST",
credentials: "include",
"Content-Type": "application/json;charset=utf-8",
headers: new Headers({ "content-type": "application/json" }),
body: JSON.stringify({ tracks: data }),
}).then(res => {
log("上传返回的内容", res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment