Firewall'lardan bir XMLHttpRequest aracılığıyla dosyaları karşıdan yüklemeyi deniyorum, ancak Access-Control-Allow-Origin kaynağında ayarlanmadı, bu yüzden mümkün değil. Bu üstbilgiyi depolama sunucusuna yerleştirmenin herhangi bir yolu var mı?Firebase Depolama Alanı ve Erişim Denetimi-İzin-Menşei
(let [xhr (js/XMLHttpRequest.)]
(.open xhr "GET" url)
(aset xhr "responseType" "arraybuffer")
(aset xhr "onload" #(js/console.log "bin" (.-response xhr)))
(.send xhr)))
Krom hata iletisi: Bu post on the firebase-talk group/list itibaren
XMLHttpRequest cannot load https://firebasestorage.googleapis.com/[EDITED] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' http://localhost:3449 ' is therefore not allowed access.
yeterli temsilcisi, ancak yukarıdaki yolu hala doğru yoldur. Bunun için resmi firebase dokümanlarını paylaşmak istedim: https://firebase.google.com/docs/storage/web/download-files#cors_configuration –