Skip to content

Commit 0ee9b13

Browse files
committed
change domain
1 parent 597955e commit 0ee9b13

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ cordova run android
2323
# codepush 热更新
2424

2525
```shell
26-
$ code-push login http://codepush.19910225.com:8080 #登录code-push-server
26+
$ code-push login http://api.code-push.com:8080 #登录code-push-server
2727
$ code-push app add CodePushCordovaDemo-ios #iOS版
2828
$ code-push app add CodePushCordovaDemo-android #android版
2929
$ cd /path/to/code-push-cordova-demo-app

config.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<platform name="android">
2020
<allow-intent href="market:*" />
2121
<preference name="CodePushDeploymentKey" value="nVHPr6asLSusnWoLBNCSktk9FWbiqLF160UDg" />
22-
<preference name="CodePushServerUrl" value="http://codepush.19910225.com:8080/" />
22+
<preference name="CodePushServerUrl" value="http://api.code-push.com:8080/" />
2323
</platform>
2424
<platform name="ios">
2525
<allow-intent href="itms:*" />
2626
<allow-intent href="itms-apps:*" />
2727
<preference name="CodePushDeploymentKey" value="Iw5DMZSIrCOS7hbLsY5tHAHNITFQqLF160UDg" />
28-
<preference name="CodePushServerUrl" value="http://codepush.19910225.com:8080/" />
28+
<preference name="CodePushServerUrl" value="http://api.code-push.com:8080/" />
2929
</platform>
3030
<engine name="ios" spec="~4.2.1" />
3131
<engine name="android" spec="~5.2.2" />

www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
2929
* Enable inline JS: add 'unsafe-inline' to default-src
3030
-->
31-
<meta http-equiv="Content-Security-Policy" content="default-src 'self' http://codepush.19910225.com:8080/ data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
31+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' http://api.code-push.com:8080/ data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
3232
<meta name="format-detection" content="telephone=no">
3333
<meta name="msapplication-tap-highlight" content="no">
3434
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">

0 commit comments

Comments
 (0)