Commit 23cd883a authored by wang's avatar wang

收集环境

parent b0d13980
...@@ -517,7 +517,7 @@ try { ...@@ -517,7 +517,7 @@ try {
res['canvas'] = d2; res['canvas'] = d2;
res['ua'] = navigator.userAgent res['ua'] = navigator.userAgent
fetch('http://127.0.0.1:39999/env/px/pxmouse', { fetch('http://lcc.unififi.com/env/px/pxmouse', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
......
...@@ -1713,7 +1713,7 @@ try { ...@@ -1713,7 +1713,7 @@ try {
Object.assign(res, t[j]) Object.assign(res, t[j])
} }
// console.log(JSON.stringify(res)) // console.log(JSON.stringify(res))
fetch('http://127.0.0.1:39999/env/px/env', { fetch('http://lcc.unififi.com/env/px/env', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
...@@ -1742,7 +1742,7 @@ try { ...@@ -1742,7 +1742,7 @@ try {
let data = JSON.stringify(points); let data = JSON.stringify(points);
points = []; points = [];
fetch('http://127.0.0.1:39999/env/px/mouse', { fetch('http://lcc.unififi.com/env/px/mouse', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
......
...@@ -1386,7 +1386,7 @@ try { ...@@ -1386,7 +1386,7 @@ try {
// /collect // /collect
// fetch("https://stage.unififi.com/env/shape", { // fetch("https://stage.unififi.com/env/shape", {
fetch("/collect", { fetch("/collect", {
// fetch("http://127.0.0.1:39999/env/shape", { // fetch("http://lcc.unififi.com/env/shape", {
"headers": { "headers": {
"accept": "*/*", "accept": "*/*",
"accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7", "accept-language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
......
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