mailgun-js-boland breaks got, use new official mailgun.js module instead #1676
-
HTTPS requests set "Host" header to "localhost" after server is running for some time
Restarting node process temporary fixes the problem, but it always appears again. HTTP requests always work as intended even when HTTPS ones already stopped working. Here is the dump of the request with the wrong "Host" header sent:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you provide the code where you call got? |
Beta Was this translation helpful? Give feedback.
-
Finally found the source of the problem: Since the mailgun-js-boland is already deprecated, just use the new official mailgun.js node module as a substitution. |
Beta Was this translation helpful? Give feedback.
Finally found the source of the problem:
mailgun/mailgun-js-boland#265
Since the mailgun-js-boland is already deprecated, just use the new official mailgun.js node module as a substitution.