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:
29293 . ** Run the following Command:**
3030
3131 ``` jsx
32- gcloud config set project & lt; your- project- id& gt ;
32+ gcloud config set project your- firebase - project- id;
3333 ```
3434
35354. ** Define and upload your cors .json file: **
@@ -68,14 +68,14 @@ Follow these steps to configure CORS for your Firebase Storage bucket:
68685. ** Run the ` cors` Command to Configure CORS : **
6969
7070 ` ` ` 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
7272 ` ` `
7373
74746. ** (Optional) Confirm success by viewing the CORS of your bucket**
7575
7676 Run the following command to confirm that the rules from your ` cors.json` file were applied.
7777 ` ` ` 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)"
7979 ` ` `
8080 You should see the same allowed origins and any other info defined in your ` cors.json` file.
8181
You can’t perform that action at this time.
0 commit comments