1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 09:41:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Cleanup headers

This commit is contained in:
sunnylqm
2021-10-28 18:01:12 +08:00
parent bcfdd67ea8
commit 732845faad

View File

@@ -159,10 +159,6 @@ async function uploadFile(fn, key) {
realUrl,
{
formData,
headers: {
'User-Agent': userAgent,
'X-AccessToken': session ? session.token : '',
},
},
(err, resp, body) => {
if (err) {