mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:51:42 +00:00
fix: modificado metodo Gateways_urls para que devuelva solamente links en deploy_distributed_press.rb #14550
This commit is contained in:
parent
2387da24e1
commit
c66a7660c1
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class DeployDistributedPress < Deploy
|
|||
# @return [Array]
|
||||
def gateway_urls
|
||||
remote_info.dig(:distributed_press, :links)&.values&.map do |protocol|
|
||||
[ protocol[:link], protocol[:gateway] ]
|
||||
[ protocol[:link]]
|
||||
end&.flatten&.compact&.select do |link|
|
||||
link.include? '://'
|
||||
end || []
|
||||
|
|
Loading…
Reference in a new issue