mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 21:02:01 +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
|
||||
=* ports ports.server-state.ax
|
||||
=/ =host:eyre [%& ?^(domains n.domains /localhost)]
|
||||
=/ secure=? &(?=(^ secure.ports) !?=(hoke:eyre host))
|
||||
=/ port=(unit @ud)
|
||||
?. secure
|
||||
?. ?=(^ secure.ports)
|
||||
?:(=(80 insecure.ports) ~ `insecure.ports)
|
||||
?> ?=(^ secure.ports)
|
||||
?:(=(443 u.secure.ports) ~ secure.ports)
|
||||
``[secure port host]
|
||||
``[?=(^ secure.ports) port host]
|
||||
==
|
||||
==
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user