Skip to content

Commit af25ede

Browse files
committed
Merge branch 'master' of github.com:fullstackreact/react-native-firestack
* 'master' of github.com:fullstackreact/react-native-firestack: Changed the setStorageUrl description
2 parents 6a9a8a5 + a236df7 commit af25ede

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ In order to store anything on Firebase, we need to set the storage url provided
449449

450450
![Storage url](http://d.pr/i/1lKjQ.png)
451451

452-
The `setStorageUrl()` method accepts a single parameter: your root storage url.
452+
The `setStorageUrl()` method accepts a single parameter: your root storage url (without leading "gs://").
453453

454454
```javascript
455-
firestack.storage.setStorageUrl(`gs://${config.firebase.storageBucket}`)
455+
firestack.storage.setStorageUrl(`${config.firebase.storageBucket}`)
456456
```
457457

458458
If the `storageBucket` key is passed as a configuration option, this method is automatically called by default.

0 commit comments

Comments
 (0)