mailtrain
mailtrain copied to clipboard
multiple cors origins
Is there a way to have multiple cors origins? I'd like to be able to have the staging server be able to render the widget.
Yes, the cors.origins configuration item takes a list. For example:
cors:
origins: ['https://www.example.com', 'https://staging.example.com']
We are going to start with the development and testing of mailtrain v3 in the next weeks.
You are welcome to help us with the testing as soon as the first release candidate is available.