mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
27 lines
479 B
Plaintext
27 lines
479 B
Plaintext
/- sur=file-server
|
|
^?
|
|
=< [sur .]
|
|
=, sur
|
|
|%
|
|
++ enjs
|
|
=, enjs:format
|
|
|%
|
|
++ update
|
|
|= upd=^update
|
|
^- json
|
|
|^ (frond %file-server (pairs ~[(encode upd)]))
|
|
::
|
|
++ encode
|
|
|= upd=^update
|
|
^- [cord json]
|
|
?- -.upd
|
|
%configuration
|
|
=* prefix landscape-homepage-prefix.configuration.upd
|
|
:- %configuration
|
|
%- pairs
|
|
[%landscape-homepage-prefix ?~(prefix ~ s+u.prefix)]~
|
|
==
|
|
--
|
|
--
|
|
--
|