mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 17:21:41 +00:00
Merge branch 'issue-13163' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: no generar urls a partir de los protocolos #13163 See merge request sutty/sutty!171
This commit is contained in:
commit
9e78a2df1d
1 changed files with 1 additions and 9 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
|
||||
|
@ -93,14 +93,6 @@ class DeployDistributedPress < Deploy
|
|||
end
|
||||
end
|
||||
|
||||
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