mirror of
				https://gitcode.com/github-mirrors/react-native-update-cli.git
				synced 2025-10-31 14:53:11 +08:00 
			
		
		
		
	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:
		| @@ -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']; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm