mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Fixed mailgun config not allowing custom hosts with ports
no issue - `mailgun()` expects the `host` option not to include a port but `url.host` will include the port, we instead want to use `url.hostname` which skips the port
This commit is contained in:
parent
56ceb1e312
commit
29d94e7814
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function createMailgun(config) {
|
|||
apiKey: config.apiKey,
|
||||
domain: config.domain,
|
||||
protocol: baseUrl.protocol,
|
||||
host: baseUrl.host,
|
||||
host: baseUrl.hostname,
|
||||
port: baseUrl.port,
|
||||
endpoint: baseUrl.pathname,
|
||||
retry: 5
|
||||
|
|
Loading…
Add table
Reference in a new issue