FIX: Make `omit_default_port` the global default
This commit is contained in:
parent
46a3b30021
commit
0ba39109a0
|
@ -22,7 +22,6 @@ module Jobs
|
||||||
|
|
||||||
result = Excon.post(push_url,
|
result = Excon.post(push_url,
|
||||||
body: payload.merge(notifications: notifications).to_json,
|
body: payload.merge(notifications: notifications).to_json,
|
||||||
omit_default_port: true,
|
|
||||||
headers: { 'Content-Type' => 'application/json', 'Accept' => 'application/json' }
|
headers: { 'Content-Type' => 'application/json', 'Accept' => 'application/json' }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Excon::DEFAULTS[:omit_default_port] = true
|
Loading…
Reference in New Issue