mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03: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
@ -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…
Reference in New Issue
Block a user