(pathname: string)
| 93 | |
| 94 | /** Whether `executor.sh` forwards a pathname to v2's Worker. */ |
| 95 | export const isV2Path = (pathname: string): boolean => |
| 96 | V2_PATHS.some((pattern) => matchesPathPattern(pathname, pattern)) || |
| 97 | isSocialCallbackPath(pathname); |
| 98 | |
| 99 | /** v2's marketing site on `executor.sh`, as path patterns (see |
| 100 | * {@link matchesPathPattern}): the pages, files and assets v2's marketing |
no test coverage detected