Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
14 lines
635 B
Plaintext
14 lines
635 B
Plaintext
import type { NextConfigObject } from '../types';
|
|
/**
|
|
* Resolves the tunnel route based on the user's configuration and the environment.
|
|
* @param tunnelRoute - The user-provided tunnel route option
|
|
*/
|
|
export declare function resolveTunnelRoute(tunnelRoute: string | true): string;
|
|
/**
|
|
* Injects rewrite rules into the Next.js config provided by the user to tunnel
|
|
* requests from the `tunnelPath` to Sentry.
|
|
*
|
|
* See https://nextjs.org/docs/api-reference/next.config.js/rewrites.
|
|
*/
|
|
export declare function setUpTunnelRewriteRules(userNextConfig: NextConfigObject, tunnelPath: string): void;
|
|
//# sourceMappingURL=tunnel.d.ts.map |