mailtrain icon indicating copy to clipboard operation
mailtrain copied to clipboard

multiple cors origins

Open catbadger opened this issue 4 years ago • 1 comments

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.

catbadger avatar Oct 14 '21 20:10 catbadger

Yes, the cors.origins configuration item takes a list. For example:

cors:
  origins: ['https://www.example.com', 'https://staging.example.com']

ghost avatar Mar 23 '22 14:03 ghost

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.

forgeOneHQ avatar Mar 16 '24 09:03 forgeOneHQ