urbit/gen/hood/serve.hoon
Anton Dyudin f9e6503815 added kiss-eyre %serv setting web server root beam
|serve ?(desk path:beam) to set
2015-12-04 14:21:37 -08:00

18 lines
289 B
Plaintext

::
:::: /hoon/serve/hood/gen
::
/? 314
::
::::
!:
:- %say
|= $: [now=@da eny=@uvI bec=beak]
[[pax=$|(term [i=span t=path]) ~] ~]
==
:- %helm-serve
?@ pax pax
=+ bem=(need (tome pax))
?. =([%da now] r.bem) :: XX actual sentinel
bem
bem(r [%ud 0])