1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-23 14:55:48 +03:00
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])