mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 23:59:42 +08:00
Update default API url
This commit is contained in:
@@ -13,7 +13,7 @@ NSMutableDictionary *configuration;
|
||||
NSString *deploymentKey = [infoDictionary objectForKey:@"CodePushDeploymentKey"];
|
||||
NSString *serverUrl = [infoDictionary objectForKey:@"CodePushServerUrl"];
|
||||
if (!serverUrl) {
|
||||
serverUrl = @"http://localhost:3000/";
|
||||
serverUrl = @"https://codepush.azurewebsites.net/";
|
||||
}
|
||||
NSString *rootComponent = [infoDictionary objectForKey:@"CFBundleName"];
|
||||
|
||||
@@ -82,4 +82,4 @@ NSMutableDictionary *configuration;
|
||||
return configuration;
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user