Correct logo URL

Summary:
Update logo URL
https://facebook.github.io/react/img/logo_og.png (old) to https://facebook.github.io/react/logo-og.png (new)

Check that the old URL shows a "Page Not Found" and the new URL the correct image.
Closes https://github.com/facebook/react-native/pull/16204

Differential Revision: D5978967

Pulled By: TheSavior

fbshipit-source-id: f6af03dfd25d68c96e01054c256d8b6ba9fedba2
This commit is contained in:
Gustavo Gard
2017-10-04 14:33:20 -07:00
committed by Facebook Github Bot
parent 9c29ee1504
commit 2d2dfa26bc
6 changed files with 13 additions and 13 deletions

View File

@@ -97,11 +97,11 @@ Many of the images you will display in your app will not be available at compile
```javascript
// GOOD
<Image source={{uri: 'https://facebook.github.io/react/img/logo_og.png'}}
<Image source={{uri: 'https://facebook.github.io/react/logo-og.png'}}
style={{width: 400, height: 400}} />
// BAD
<Image source={{uri: 'https://facebook.github.io/react/img/logo_og.png'}} />
<Image source={{uri: 'https://facebook.github.io/react/logo-og.png'}} />
```
### Network Requests for Images
@@ -110,7 +110,7 @@ Many of the images you will display in your app will not be available at compile
```javascript
<Image source={{
uri: 'https://facebook.github.io/react/img/logo_og.png',
uri: 'https://facebook.github.io/react/logo-og.png',
method: 'POST',
headers: {
Pragma: 'no-cache'
@@ -147,7 +147,7 @@ to a URL load request, no attempt is made to load the data from the originating
and the load is considered to have failed.
```javascript
<Image source={{uri: 'https://facebook.github.io/react/img/logo_og.png', cache: 'only-if-cached'}}
<Image source={{uri: 'https://facebook.github.io/react/logo-og.png', cache: 'only-if-cached'}}
style={{width: 400, height: 400}} />
```