(urlPath, basePath)
| 430 | } |
| 431 | |
| 432 | function isMountedPath(urlPath, basePath) { |
| 433 | return ( |
| 434 | basePath === "/" || |
| 435 | urlPath === basePath || |
| 436 | urlPath.startsWith(`${basePath}/`) |
| 437 | ); |
| 438 | } |
| 439 | |
| 440 | function stripBasePathFromUrl(rawUrl, basePath) { |
| 441 | if (basePath === "/") return rawUrl; |