Firebase Storage and Access-Control-Allow-Origin
<p>I'm trying to download files from Firebase Storage through a XMLHttpRequest, but Access-Control-Allow-Origin is not set on the resource, so it's not possible. Is there any way to set this header on the storage server?</p>

<pre><code>  (let [xhr (js/XMLHttpRequest.)]
    (.open xhr "GET" url)
    (aset xhr "responseType" "arraybuffer")
    (aset xhr "onload" #(js/console.log "bin" (.-response xhr)))
    (.send xhr)))
</code></pre>

<p>Chrome error message:</p>

<blockquote>
  <p>XMLHttpRequest cannot load
  <a href="https://firebasestorage.googleapis.com/[EDITED]">https://firebasestorage.googleapis.com/[EDITED]</a>
  No 'Access-Control-Allow-Origin' header is present on the requested
  resource. Origin '<a href="http://localhost:3449">http://localhost:3449</a>' is therefore not allowed
  access.</p>
</blockquote>