Skip to content

Commit

Permalink
add documentation to enable CORS (#508)
Browse files Browse the repository at this point in the history
* add documentation to enable CORS

* review changes

* review changes
  • Loading branch information
thesynthax authored Mar 11, 2024
1 parent 5185f6a commit 27108f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ yarn storybook

Storybook should now be operational. Experiment with `EmbeddedChat` and its components, observing real-time changes in Storybook.

Note: Please make sure the "Enable CORS" option is ON in your Rocket.Chat server. It can be found in Administration > Settings > General > REST API > Enable CORS. It has to enabled to access the functionality of the app.

#### Custom Rocket Chat Server Configuration

By default, Storybook connects to `http://localhost:3000`. To use a different Rocket Chat server:
Expand Down

0 comments on commit 27108f4

Please sign in to comment.