📅  最后修改于: 2022-03-11 15:01:30.129000             🧑  作者: Mango
// 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://...