mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-29 04:04:02 +03:00
launch and http-server-store: protect on-poke and on-watch
This commit is contained in:
parent
f13b174f16
commit
c4d3fa41d9
@ -58,6 +58,7 @@
|
||||
|= [=mark =vase]
|
||||
^- (quip card _this)
|
||||
|^
|
||||
?> (team:title our.bowl src.bowl)
|
||||
?+ mark (on-poke:def mark vase)
|
||||
%http-server-action (landscape-action !<(action vase))
|
||||
%handle-http-request
|
||||
@ -191,6 +192,7 @@
|
||||
|= =path
|
||||
^- (quip card _this)
|
||||
|^
|
||||
?> (team:title our.bowl src.bowl)
|
||||
?+ path (on-watch:def path)
|
||||
[%http-response *] [~ this]
|
||||
[%all ~] [(give [%configuration configuration]) this]
|
||||
|
@ -82,6 +82,7 @@
|
||||
|= [=mark =vase]
|
||||
^- (quip card _this)
|
||||
|^
|
||||
?> (team:title our.bowl src.bowl)
|
||||
=^ cards state
|
||||
?+ mark (on-poke:def mark vase)
|
||||
%launch-action (poke-action !<(action:store vase))
|
||||
|
Loading…
Reference in New Issue
Block a user