Answers for "gcloud storage cors"

0

gcloud storage cors

// create file cors.json, containing:
[
  {
    "origin": ["http://origin1.example.com"], // or ["*"] to allow all
    "responseHeader": ["Content-Type"],
    "method": ["GET"],
    "maxAgeSeconds": 3600
  }
]// then
$ gsutil cors set ./cors.json gs://<bucket_name>...
Posted by: Guest on August-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language