Skip to content

Commit 776c1aa

Browse files
committed
补充 X-LC-UA 头
1 parent 7594bd2 commit 776c1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browserify-wrapper/ajax-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const ajax = (method, url, data, success, error) => {
9393
}
9494

9595
xhr.setRequestHeader('X-LC-Sign', signature);
96-
// xhr.setRequestHeader('X-LC-UA', 'AV-web-' + AV.version);
96+
xhr.setRequestHeader('X-LC-UA', 'LC-Web-' + AV.version);
9797
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
9898
xhr.send(JSON.stringify(data));
9999
return promise._thenRunCallbacks(options);

0 commit comments

Comments
 (0)