UNPKG

@sentry/nextjs

Version:
7 lines 369 B
/** * Returns true when `pathname` is exactly the Sentry tunnel route or a sub-path * (`tunnelPath` + `/...`). A plain `startsWith(tunnelPath)` is unsafe: e.g. tunnel * `/api/t` must not match `/api/things`. */ export declare function isPathnameUnderSentryTunnelRoute(pathname: string, tunnelPath: string): boolean; //# sourceMappingURL=tunnelPathnameMatch.d.ts.map