Browse Source

Update Guide.md

Thibault Malbranche 6 years ago
parent
commit
1b54a37978
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      docs/Guide.md

+ 3
- 3
docs/Guide.md View File

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