gcloud storage cors

Solutions on MaxInterview for gcloud storage cors by the best coders in the world

showing results for - "gcloud storage cors"
Anson
10 Jun 2018
1// create file cors.json, containing:
2[
3  {
4    "origin": ["http://origin1.example.com"], // or ["*"] to allow all
5    "responseHeader": ["Content-Type"],
6    "method": ["GET"],
7    "maxAgeSeconds": 3600
8  }
9]// then
10$ gsutil cors set ./cors.json gs://<bucket_name>...
queries leading to this page
cors app engine gcloudgcloud storage cors