(urlPath)
| 535 | } |
| 536 | |
| 537 | function looksLikeAssetRequest(urlPath) { |
| 538 | const last = urlPath.split("/").pop() ?? ""; |
| 539 | return ASSET_LIKE_EXTENSIONS.has(extname(last).toLowerCase()); |
| 540 | } |
| 541 | |
| 542 | function matchesAnyPrefix(urlPath, prefixes) { |
| 543 | return prefixes.some((prefix) => matchesPathPrefix(urlPath, prefix)); |
no outgoing calls
no test coverage detected