mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
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,
|
||||
body: payload.merge(notifications: notifications).to_json,
|
||||
omit_default_port: true,
|
||||
headers: { 'Content-Type' => 'application/json', 'Accept' => 'application/json' }
|
||||
)
|
||||
|
||||
|
|
1
config/initializers/013-excon_defaults.rb
Normal file
1
config/initializers/013-excon_defaults.rb
Normal file
|
@ -0,0 +1 @@
|
|||
Excon::DEFAULTS[:omit_default_port] = true
|
Loading…
Reference in New Issue
Block a user