File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/troubleshooting/firebase-issues Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Follow these steps to configure CORS for your Firebase Storage bucket:
29
29
3 . ** Run the following Command:**
30
30
31
31
``` jsx
32
- gcloud config set project & lt; your- project- id& gt ;
32
+ gcloud config set project your- firebase - project- id;
33
33
```
34
34
35
35
4. ** Define and upload your cors .json file: **
@@ -68,14 +68,14 @@ Follow these steps to configure CORS for your Firebase Storage bucket:
68
68
5. ** Run the ` cors` Command to Configure CORS : **
69
69
70
70
` ` ` jsx
71
- gcloud storage buckets update gs://your-bucket-name --cors-file=cors.json
71
+ gcloud storage buckets update gs://your-google-storage- bucket-name --cors-file=cors.json
72
72
` ` `
73
73
74
74
6. ** (Optional) Confirm success by viewing the CORS of your bucket**
75
75
76
76
Run the following command to confirm that the rules from your ` cors.json` file were applied.
77
77
` ` ` jsx
78
- gcloud storage buckets describe gs://YOUR_BUCKET_NAME --format="default(cors_config)"
78
+ gcloud storage buckets describe gs://your-google-storage-bucket-name --format="default(cors_config)"
79
79
` ` `
80
80
You should see the same allowed origins and any other info defined in your ` cors.json` file.
81
81
You can’t perform that action at this time.
0 commit comments