add secure and private flag to config payload
This commit is contained in:
parent
bdd479298b
commit
edac220a42
|
@ -11,7 +11,7 @@ class Travis::Api::App
|
|||
host: host,
|
||||
shorten_host: Travis.config.shorten_host,
|
||||
assets: Travis.config.assets,
|
||||
pusher: (Travis.config.pusher_ws || Travis.config.pusher || {}).to_hash.slice(:scheme, :host, :port, :path, :key),
|
||||
pusher: (Travis.config.pusher_ws || Travis.config.pusher || {}).to_hash.slice(:scheme, :host, :port, :path, :key, :secure, :private),
|
||||
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