(to: string)
| 75 | // typed on purpose: host-specific items ("/admin", "/billing") resolve against |
| 76 | // the host's own route tree, which this package can't see. |
| 77 | const orgScopedTo = (to: string): string => (to === "/" ? "/{-$orgSlug}" : `/{-$orgSlug}${to}`); |
| 78 | |
| 79 | const normalizePluginPagePath = (path: string): string => { |
| 80 | if (!path || path === "/") return "/"; |