Closed jainsahab closed 6 years ago
Thanks for the PR.
Can you just revert the first commit ? This code is useful in react dev mode (where the origins are not the same: http://localhost:3000 and http://localhost:1080), and when the server is not installed on the domain's root path (e.g. http://example.com/fake-smtp-server).
@jcdelmas my bad, I didn't consider that scenario. I have reverted that now. Let me know if you have any other feedbacks.
@jcdelmas any updates on the above?
curl -v http://localhost:1080/api/emails -u username:password