Skip to content

Commit 868264e

Browse files
updated project id and google storage bucket for consistency
1 parent f4493b2 commit 868264e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/troubleshooting/firebase-issues/configuring_cors_for_firebase_storage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Follow these steps to configure CORS for your Firebase Storage bucket:
2929
3. **Run the following Command:**
3030

3131
```jsx
32-
gcloud config set project <your-project-id>
32+
gcloud config set project your-firebase-project-id;
3333
```
3434

3535
4. **Define and upload your cors.json file:**
@@ -68,14 +68,14 @@ Follow these steps to configure CORS for your Firebase Storage bucket:
6868
5. **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

7474
6. **(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

0 commit comments

Comments
 (0)