我无法完成这项工作,我想使用 pyrebase 将图片上传到 firebase,并且文件(图片)会通过,但它永远不会加载到 firebase/storage(见附图)
这是代码:
if request.method == 'POST':
upload = request.files['upload']
upload.save(os.path.join(UPLOAD_FOLDER, filename))
storage.child("images/test.jpg").put(UPLOAD_FOLDER+filename)