[storage][js] update ref.toString - removed extra `/` and added `gs://` prefix

This commit is contained in:
Salakar 2017-08-14 14:11:17 +01:00
parent 56fc189d26
commit 156e1a431c
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default class StorageReference extends ReferenceBase {
}
toString(): String {
return `${this._storage.app.options.storageBucket}/${this.path}`;
return `gs://${this._storage.app.options.storageBucket}${this.path}`;
}
/**