(result: Response | null)
| 74 | } |
| 75 | |
| 76 | function location(result: Response | null): string | null { |
| 77 | return result instanceof Response ? result.headers.get("Location") : null; |
| 78 | } |
| 79 | |
| 80 | async function runCatchAllLoader(path: string): Promise<Response> { |
| 81 | const matched = matchRoutes(routes, path); |