Комментарии:
I need it on the plane js 😢
Ответитьthe documentation has changed.. and this video has been only one month ! anw on retrieval of the image by the link i am getting this :
<Error>
<Code>AccessDenied</Code>
<Message>Access denied.</Message>
<Details>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).</Details>
</Error>
A little improvement regarding the download URL
const blobStream = blob.createWriteStream({
metadata: metaData,
gzip: true,
});
blobStream.on('error', (err) => {
console.log(err);
});
blobStream.on('finish', async () => {
const downloadURL = await blob.getSignedUrl({
action: 'read',
expires: '03-09-2491',
});
console.log(downloadURL[0]);
console.log(downloadURL);
console.log('finished!');
});
blobStream.end(pdfBuffer);
How to define the destination folder in the firebase storage?
ОтветитьThank you for this kind helpful video i want to know that after adding this service account json file in my repo i can't upload it on github to deploy my api's how can i do this ?
Ответитьcan i get github repo link
ОтветитьWill this thing work if I will upload this to cloud functions?
ОтветитьFor me this thing isnt working if I deploy api to Cloud Functions, It only works locally. Can you please tell me why, and what should I do?
Ответить