GCP Cloud Storage not serving files with correct CORS settings for Angular app
I'm upgrading from an older version and I'm sure I'm missing something obvious here, but I'm having trouble getting CORS to work correctly with my Angular application hosted on GCP Cloud Storage... I have set up my bucket to allow cross-origin requests, but I'm still receiving a CORS behavior in the browser console, specifically: `Access to fetch at 'https://storage.googleapis.com/my-bucket/my-file.txt' from origin 'https://my-angular-app.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.` I've configured the CORS settings for my storage bucket using the following JSON: ```json [ { "origin": ["https://my-angular-app.com"], "responseHeader": ["Content-Type"], "method": ["GET", "OPTIONS"], "maxAgeSeconds": 3600 } ] ``` I applied this configuration using the gcloud command: ```bash gcloud storage buckets update gs://my-bucket --cors-file cors-config.json ``` To confirm if the settings have been applied correctly, I ran: ```bash gcloud storage buckets describe gs://my-bucket ``` The output shows the CORS configuration I expected, but the behavior continues when I try to access the files from my Angular app. I've also tried clearing the cache and using different browsers. Is there anything I'm missing or misconfigured? Are there any additional settings or debugging steps I should consider to ensure that my GCP Cloud Storage bucket is properly configured for CORS? I'm working on a API that needs to handle this. What am I doing wrong? Could someone point me to the right documentation?