mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-20 13:22:07 +03:00
Merge pull request #6116 from urbit/fix-host-scry
eyre: fix %host scry so it says secure even if no domains configured
This commit is contained in:
commit
c5aece980e
@ -2668,13 +2668,11 @@
|
|||||||
=* domains domains.server-state.ax
|
=* domains domains.server-state.ax
|
||||||
=* ports ports.server-state.ax
|
=* ports ports.server-state.ax
|
||||||
=/ =host:eyre [%& ?^(domains n.domains /localhost)]
|
=/ =host:eyre [%& ?^(domains n.domains /localhost)]
|
||||||
=/ secure=? &(?=(^ secure.ports) !?=(hoke:eyre host))
|
|
||||||
=/ port=(unit @ud)
|
=/ port=(unit @ud)
|
||||||
?. secure
|
?. ?=(^ secure.ports)
|
||||||
?:(=(80 insecure.ports) ~ `insecure.ports)
|
?:(=(80 insecure.ports) ~ `insecure.ports)
|
||||||
?> ?=(^ secure.ports)
|
|
||||||
?:(=(443 u.secure.ports) ~ secure.ports)
|
?:(=(443 u.secure.ports) ~ secure.ports)
|
||||||
``[secure port host]
|
``[?=(^ secure.ports) port host]
|
||||||
==
|
==
|
||||||
==
|
==
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user