Function
isStartOwnedApiPath
(pathname: string, method: string)
Source from the content-addressed store, hash-verified
| 41 | // --------------------------------------------------------------------------- |
| 42 | |
| 43 | export const isStartOwnedApiPath = (pathname: string, method: string): boolean => |
| 44 | (pathname === "/api/sentry-tunnel" && method === "POST") || pathname === "/api/oauth/callback"; |
| 45 | |
| 46 | export const servedByAppPlane = (pathname: string, method: string): boolean => |
| 47 | isApiPath(pathname) && !isStartOwnedApiPath(pathname, method); |
Tested by
no test coverage detected