Cloud Storage - No 'Access-Control-Allow-Origin' header is present on the requested resource for AngularJS view

后端 未结 5 1496
名媛妹妹
名媛妹妹 2021-02-15 05:45

According to Chrome dev tools, my requests to get my html partials have the origin header https://site-name-here.com and request header GET.
I have the following JSON file s

5条回答
  •  醉话见心
    2021-02-15 06:27

    If cache is the problem, try this.

    gsutil setmeta -h "Cache-Control:no-cache" gs://BUCKET_NAME/OBJECT_NAME
    

    Viewing and editing object metadata

    Cache may remain somewhere in the network for a while.

提交回复
热议问题