(url: string | URL, path: string)
| 938 | } |
| 939 | |
| 940 | function route(url: string | URL, path: string) { |
| 941 | const next = new URL(url) |
| 942 | next.pathname = `${next.pathname.replace(/\/$/, "")}${path}` |
| 943 | next.search = "" |
| 944 | next.hash = "" |
| 945 | return next |
| 946 | } |
| 947 | |
| 948 | export const node = LayerNode.make({ |
| 949 | service: Service, |
no outgoing calls
no test coverage detected