react-native-update-cli 1.25.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.js +1 -1
- package/package.json +1 -1
- package/src/api.js +1 -1
package/lib/api.js
CHANGED
|
@@ -46,7 +46,7 @@ var _utils = require('./utils');
|
|
|
46
46
|
|
|
47
47
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
48
48
|
|
|
49
|
-
const defaultEndpoint = 'https://update.
|
|
49
|
+
const defaultEndpoint = 'https://update.react-native.cn/api';
|
|
50
50
|
let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
|
|
51
51
|
|
|
52
52
|
|
package/package.json
CHANGED
package/src/api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import fetch from 'node-fetch';
|
|
2
|
-
const defaultEndpoint = 'https://update.
|
|
2
|
+
const defaultEndpoint = 'https://update.react-native.cn/api';
|
|
3
3
|
let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
|
|
4
4
|
import fs from 'fs';
|
|
5
5
|
import request from 'request';
|