favor Travis.config.pusher_ws over Travis.config.pusher, add the pusher_ws path
This commit is contained in:
parent
be719b1253
commit
185244f0e7
|
@ -11,7 +11,7 @@ class Travis::Api::App
|
|||
host: host,
|
||||
shorten_host: Travis.config.shorten_host,
|
||||
assets: Travis.config.assets,
|
||||
pusher: (Travis.config.pusher || {}).to_hash.slice(:host, :port, :scheme, :key),
|
||||
pusher: (Travis.config.pusher_ws || Travis.config.pusher || {}).to_hash.slice(:scheme, :host, :port, :path, :key),
|
||||
github: { api_url: GH.current.api_host.to_s, scopes: Travis.config.oauth2.try(:scope).to_s.split(?,) }
|
||||
|
||||
# Landing point. Redirects web browsers to [API documentation](#/docs/).
|
||||
|
|
Loading…
Reference in New Issue
Block a user