getSignedUrl when using cloud functions
问题 I am trying to get image url so that I can pass it as src in my html. I created functions and would like to send the url in response. I tried the below but I keep getting Error: Cannot sign data without client_email . import * as functions from 'firebase-functions'; import * as admin from 'firebase-admin'; export const getPicURL = functions.https.onRequest( (request, response) => { const storageBucket = admin .storage() .bucket('gs://my-app.appspot.com'); const fileName = 'my-app/pic1.jpg';