mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-17 18:06:10 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
85db61704c | ||
![]() |
57ddfc5d7d |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-update-cli",
|
"name": "react-native-update-cli",
|
||||||
"version": "1.1.17",
|
"version": "1.1.18",
|
||||||
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
|
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@@ -147,6 +147,10 @@ async function uploadFile(fn, key) {
|
|||||||
realUrl,
|
realUrl,
|
||||||
{
|
{
|
||||||
formData,
|
formData,
|
||||||
|
headers: {
|
||||||
|
'User-Agent': userAgent,
|
||||||
|
'X-AccessToken': session ? session.token : '',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
(err, resp, body) => {
|
(err, resp, body) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Reference in New Issue
Block a user