Skip to content

Commit 138a820

Browse files
feat: update baseURI
1 parent ec3b4c6 commit 138a820

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ npm install @graphcms/react-image
6868
| `blurryPlaceholder` | `bool` | Would you like to display a blurry placeholder for your loading image? Defaults to `true`. |
6969
| `backgroundColor` | `string\|bool` | Set a colored background placeholder. If true, uses "lightgray" for the color. You can also pass in any valid color string. |
7070
| `onLoad` | `func` | A callback that is called when the full-size image has loaded. |
71-
| `baseURI` | `string` | Set the base src from where the images are requested. Base URI Defaults to `https://media.graphcms.com` |
71+
| `baseURI` | `string` | Set the base src from where the images are requested. Base URI Defaults to `https://media.graphassets.com` |

Diff for: index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
fadeIn?: boolean
7474
/**
7575
* Set the base src from where the images are requested.
76-
* Base URI Defaults to `https://media.graphcms.com`
76+
* Base URI Defaults to `https://media.graphassets.com`
7777
*/
7878
baseURI?: string
7979
}

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ GraphImage.defaultProps = {
286286
backgroundColor: '',
287287
fadeIn: true,
288288
onLoad: null,
289-
baseURI: 'https://media.graphcms.com'
289+
baseURI: 'https://media.graphassets.com'
290290
}
291291

292292
GraphImage.propTypes = {

0 commit comments

Comments
 (0)