You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WireMock supports sending CORS headers for stub responses.
Add configuration for enable automatic sending of CORS headers on stub responses like in WM.
Use case
Consider developing SPA - for exaple react app. Application during development is avaiable on port 3000, but View as Published app is available on port 4502. It is not possible to handle it- because of CORS. You can add headers on mocks, but easier way would be to have possibility on tool by default
The text was updated successfully, but these errors were encountered:
WireMock supports sending CORS headers for stub responses.
Add configuration for enable automatic sending of CORS headers on stub responses like in WM.
Use case
Consider developing SPA - for exaple react app. Application during development is avaiable on port 3000, but View as Published app is available on port 4502. It is not possible to handle it- because of CORS. You can add headers on mocks, but easier way would be to have possibility on tool by default
The text was updated successfully, but these errors were encountered: