diff --git a/docs/README.md b/docs/README.md index 5208f6da..8699e534 100644 --- a/docs/README.md +++ b/docs/README.md @@ -234,21 +234,21 @@ Edit [mailtrain.conf](setup/mailtrain.conf) (update application folder) and copy The (experimental) Mailtrain Subscription Widget allows you to embed your sign-up forms on your website. To embed a Widget, you need to: -Enable cross-origin resource sharing in your `config` file and whitelist your site: +Enable cross-origin resource sharing in your `server/config/local.yaml` file (you may need to create it if it doesn't exist) and whitelist your site: ``` -[cors] -# Allow subscription widgets to be embedded -origins=['https://www.example.com'] +cors: + # Allow subscription widgets to be embedded + origins=['https://www.example.com'] ``` -Embed the widget code on your website: +Embed the widget code on your website using the untrusted endpoint: ``` -
- Subscribe to our list +
+ Subscribe to our list
- + ``` ## Cloudron