mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 19:31:41 +00:00
fix: no generar urls a partir de los protocolos #13163
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
porque ipfs es ipns (!)
This commit is contained in:
parent
29f4c7a847
commit
bd48b8561c
1 changed files with 1 additions and 9 deletions
|
@ -80,7 +80,7 @@ class DeployDistributedPress < Deploy
|
||||||
|
|
||||||
# Devuelve las URLs de todos los protocolos
|
# Devuelve las URLs de todos los protocolos
|
||||||
def urls
|
def urls
|
||||||
protocol_urls + gateway_urls
|
gateway_urls
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
@ -93,14 +93,6 @@ class DeployDistributedPress < Deploy
|
||||||
end
|
end
|
||||||
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
|
# El cliente de la API
|
||||||
#
|
#
|
||||||
# TODO: cuando soportemos más, tiene que haber una relación entre
|
# TODO: cuando soportemos más, tiene que haber una relación entre
|
||||||
|
|
Loading…
Reference in a new issue