浏览代码

Update Guide.md

Thibault Malbranche 5 年前
父节点
当前提交
1b54a37978
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      docs/Guide.md

+ 3
- 3
docs/Guide.md 查看文件

@@ -43,7 +43,7 @@ class MyWeb extends Component {
43 43
   render() {
44 44
     return (
45 45
       <WebView
46
-        source={{uri: 'https://infinite.red/react-native'}}
46
+        source={{uri: 'https://facebook.github.io/react-native/'}}
47 47
       />
48 48
     );
49 49
   }
@@ -65,7 +65,7 @@ class MyWeb extends Component {
65 65
     return (
66 66
       <WebView
67 67
         ref={ref => (this.webview = ref)}
68
-        source={{uri: 'https://infinite.red/react-native'}}
68
+        source={{uri: 'https://facebook.github.io/react-native/'}}
69 69
         onNavigationStateChange={this.handleWebViewNavigationStateChange}
70 70
       />
71 71
     );
@@ -102,7 +102,7 @@ class MyWeb extends Component {
102 102
 
103 103
     // redirect somewhere else
104 104
     if (url.includes('google.com')) {
105
-      const newURL = 'https://infinite.red';
105
+      const newURL = 'https://facebook.github.io/react-native/';
106 106
       const redirectTo = 'window.location = "' + newURL + '"';
107 107
       this.webview.injectJavaScript(redirectTo);
108 108
     }