Firebase `getDownloadURL`
1
const storage = firebase.storage();
2
const pathReference = storage.ref('audio/interview.wav');
3
// TODO: add error handling
4
const url = await pathReference.getDownloadURL();
Copied!
When do the getDownloadURL expire?
Firebase Storage tokens do not expire.
They may be revoked from the Firebase Console, which would invalidate URLs based on them.
Copy link