My constructor,
constructor(private storage: AngularFireStorage, public service: LecturersService, private firestore: AngularFirestore, private toastr: ToastrService) {
}
and I upload image by
this.storage.upload('lecturer-list',this.selectedFile);
then I get
zone-evergreen.js:2952 POST https://firebasestorage.googleapis.com/v0/b/gdis-9f4df.appspot.com/o?name=lecturer-list 403
How do I fix this?
It's just a small mistake.
We have to set permission to,
allow read, write;
in storage rules.