Skip to content

Commit

Permalink
%near-gateways app updated to host gateway glob with react-router
Browse files Browse the repository at this point in the history
  • Loading branch information
YunPearce committed Mar 1, 2024
1 parent 720a41e commit a2c7fdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions desk/app/near-gateways.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@
*identifier
req(site new-site)
::
[[%apps %near @ @ *] *] :: /apps/near/ship/id/index/html
?. (gte (lent site.req) 5)
[[%apps %near @ @ %gateway *] *] :: /apps/near/ship/id/name/index/html
?. (gte (lent site.req) 6)::5)
%- emil
%- send dump
=/ identifier :- (slav %p (snag 2 site.req))
Expand All @@ -186,7 +186,7 @@
%- send dump
=/ new-site
%+ weld
%+ slag 4
%+ slag 5
;; (list @ta) site.req
%- drop
ext.req
Expand All @@ -207,7 +207,7 @@
|= [identifier=[=ship id=@uvH] request=request-line:server]
^- simple-payload:http
~& identifier
~& site.request
~& ['site.requset' site.request]
=/ =glob
?: =(identifier [ship=~zod id=0v0])
+.ui-glob
Expand Down

0 comments on commit a2c7fdc

Please sign in to comment.