FIX: Make omit_default_port the global default

This commit is contained in:
Robin Ward 2017-06-30 12:43:26 -04:00
parent 46a3b30021
commit 0ba39109a0
2 changed files with 1 additions and 1 deletions

View File

@ -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' }
) )

View File

@ -0,0 +1 @@
Excon::DEFAULTS[:omit_default_port] = true