Commit cd29dedf authored by 范雪寒's avatar 范雪寒

feat:

parent 6882f309
...@@ -61,7 +61,7 @@ cc.Class({ ...@@ -61,7 +61,7 @@ cc.Class({
const url = `${baseUrl}${uri}${queryStr}`; const url = `${baseUrl}${uri}${queryStr}`;
console.log('url = ' + url); console.log('url = ' + url);
xhr.open('GET', url, true); xhr.open('GET', url, true);
xhr.setRequestHeader('Access-Control-Allow-Private-Network', true); xhr.setRequestHeader('Access-Control-Allow-Private-Network', 'true');
xhr.send(); xhr.send();
}, },
......
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