mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 04:36:21 +00:00
Merge branch 'issue-13163' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
000bcf6c81
1 changed files with 1 additions and 10 deletions
|
@ -80,7 +80,7 @@ class DeployDistributedPress < Deploy
|
|||
|
||||
# Devuelve las URLs de todos los protocolos
|
||||
def urls
|
||||
protocol_urls + gateway_urls
|
||||
gateway_urls
|
||||
end
|
||||
|
||||
private
|
||||
|
@ -94,15 +94,6 @@ class DeployDistributedPress < Deploy
|
|||
end || []
|
||||
end
|
||||
|
||||
# @return [Array]
|
||||
def protocol_urls
|
||||
remote_info.dig(:distributed_press, :protocols)&.select do |_, enabled|
|
||||
enabled
|
||||
end&.map do |protocol, _|
|
||||
"#{protocol}://#{site.hostname}"
|
||||
end || []
|
||||
end
|
||||
|
||||
# El cliente de la API
|
||||
#
|
||||
# TODO: cuando soportemos más, tiene que haber una relación entre
|
||||
|
|
Loading…
Reference in a new issue