Skip to content

Commit a236df7

Browse files
authored
Merge pull request #47 from blumanski/master
Changed the setStorageUrl description
2 parents 61915bd + c425444 commit a236df7

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)