Skip to content

Commit

Permalink
Update README of cms-cosmic example (#31701)
Browse files Browse the repository at this point in the history
## Documentation / Examples - Update COSMIC_BUCKET_SLUG location in cms-cosmic example
While trying the cms-cosmic example I realized that COSMIC_BUCKET_SLUG  is actually in the **API Access** menu and it's not in the **Basic Settings** menu.
### Screenshots
Here are some screenshots from the two sections:
#### Basic Settings
![basic_settings](https://user-images.githubusercontent.com/16997807/142915282-49fb8321-a01e-4478-9047-29274da36852.png)
#### API Access
![API_access](https://user-images.githubusercontent.com/16997807/142915289-74967622-adbb-405c-a1c8-5c02c2249675.png)

### Testing
I've tried the example using the COSMIC_BUCKET_SLUG from API Access and it worked without issues.
  • Loading branch information
FranciscoMoretti authored Nov 22, 2021
1 parent f584722 commit 075fd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cms-cosmic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cp .env.local.example .env.local

Then set each variable on `.env.local`:

- `COSMIC_BUCKET_SLUG` should be the **Bucket slug** key under **Basic Settings**.
- `COSMIC_BUCKET_SLUG` should be the **Bucket slug** key under **API Access**.
- `COSMIC_READ_KEY` should be the **Read Key** under **API Access**.
- `COSMIC_PREVIEW_SECRET` can be any random string (but avoid spaces) - this is used for [Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode).

Expand Down

0 comments on commit 075fd44

Please sign in to comment.