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

update api endpoint

This commit is contained in:
sunnylqm
2020-04-02 00:09:03 +08:00
parent 2146940d01
commit d16292a7a6

View File

@@ -3,7 +3,7 @@
*/ */
const fetch = require('node-fetch'); const fetch = require('node-fetch');
let host = process.env.PUSHY_REGISTRY || 'https://update.reactnative.cn/api'; let host = process.env.PUSHY_REGISTRY || 'https://update.react-native.cn/api';
const fs = require('fs-extra'); const fs = require('fs-extra');
import request from 'request'; import request from 'request';
import ProgressBar from 'progress'; import ProgressBar from 'progress';