(pathname: string)
| 18 | const DOCS_UPSTREAM_HOST = "executor.mintlify.dev"; |
| 19 | |
| 20 | export const isDocsPath = (pathname: string) => |
| 21 | pathname === "/docs" || pathname.startsWith("/docs/"); |
| 22 | |
| 23 | // Build the upstream request for an already-classified `/docs` path. Caller |
| 24 | // guarantees `isDocsPath(pathname)` — we only swap the origin and fix up the |
no outgoing calls
no test coverage detected