eyre: change (cury cat 3) to rap in https redirect

This commit is contained in:
Tinnus Napbus 2022-10-01 22:31:59 +13:00
parent ac1dac0c6c
commit 0fad85b3d0

View File

@ -622,15 +622,15 @@
?=(^ secure.ports.state)
==
=/ location=@t
;: (cury cat 3)
'https://'
(rash (fall host '') host-sans-port)
?: =(443 u.secure.ports.state)
''
(crip ":{(a-co:co u.secure.ports.state)}")
?: ?=([[~ ~] ~] (parse-request-line url.request))
'/'
url.request
%+ rap 3
:~ 'https://'
(rash (fall host '') host-sans-port)
?: =(443 u.secure.ports.state)
''
(crip ":{(a-co:co u.secure.ports.state)}")
?: ?=([[~ ~] ~] (parse-request-line url.request))
'/'
url.request
==
%- handle-response
:* %start