1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-10-31 14:53:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Update version to 2.1.3 in package.json; set baseUrl in .swcrc; refactor API query logic to use dynamic base URL and update defaultEndpoints in constants.ts

This commit is contained in:
sunnylqm
2025-09-14 17:25:35 +08:00
parent 917f99f2ab
commit fd46bafb98
5 changed files with 95 additions and 10 deletions

View File

@@ -10,6 +10,6 @@ export const pricingPageUrl = IS_CRESC
? 'https://cresc.dev/pricing'
: 'https://pushy.reactnative.cn/pricing.html';
export const defaultEndpoint = IS_CRESC
? 'https://api.cresc.dev'
: 'https://update.reactnative.cn/api';
export const defaultEndpoints = IS_CRESC
? ['https://api.cresc.dev', 'https://api.cresc.app']
: ['https://update.reactnative.cn/api', 'https://update.react-native.cn/api'];