CORS headers (Access-Control-Allow-Headers) not applied on firebase storage when set via gsutil -
im building uses shaka player, , range requests, meaning asks smaller part of large file. in order allow this, storage must support , correct cors headers must set.
this cors.json file set on bucket right now:
[ { "origin": ["*"], "responseheader": ["content-type", "range", "content-range", "x-from-cache"], "method": ["get", "head", "options"], "maxageseconds": 3600 } ] but access-control-allow-headers lists this:
authorization, content-type, x-firebase-storage-version, x-firebase-storage-xsrf, x-goog-authuser, x-goog-upload-command, x-goog-upload-header-content-length, x-goog-upload-header-content-type, x-goog-upload-protocol
what doing wrong? file supply shaka player .getdownloadurl() should using link?
any appreciated!!
Comments
Post a Comment