6
Firebase Storage ve Access-Control-Allow-Origin
XMLHttpRequest aracılığıyla Firebase Storage'dan dosya indirmeye çalışıyorum, ancak Access-Control-Allow-Origin kaynakta ayarlanmadı, bu yüzden bu mümkün değil. Bu başlığı depolama sunucusunda ayarlamanın herhangi bir yolu var mı? (let [xhr (js/XMLHttpRequest.)] (.open xhr "GET" url) (aset xhr "responseType" "arraybuffer") (aset xhr "onload" #(js/console.log "bin" (.-response xhr))) (.send xhr))) Chrome hata mesajı: XMLHttpRequest …