(urlPath)
| 411 | } |
| 412 | |
| 413 | function looksLikeAssetRequest(urlPath) { |
| 414 | const last = urlPath.split("/").pop() ?? ""; |
| 415 | return ASSET_LIKE_EXTENSIONS.has(extname(last).toLowerCase()); |
| 416 | } |
| 417 | |
| 418 | function matchesAnyPrefix(urlPath, prefixes) { |
| 419 | return prefixes.some((prefix) => matchesPathPrefix(urlPath, prefix)); |
no outgoing calls
no test coverage detected