From daf3928744a5daf0049b78eaf8f251919000259d Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Mon, 4 Sep 2023 08:43:52 +0000 Subject: [PATCH] fix(nextjs): Request for no HSTS in tunnel route endpoint --- packages/nextjs/src/config/withSentryConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/src/config/withSentryConfig.ts b/packages/nextjs/src/config/withSentryConfig.ts index b58603d82056..06f5808642ca 100644 --- a/packages/nextjs/src/config/withSentryConfig.ts +++ b/packages/nextjs/src/config/withSentryConfig.ts @@ -112,7 +112,7 @@ function setUpTunnelRewriteRules(userNextConfig: NextConfigObject, tunnelPath: s value: '(?.*)', }, ], - destination: 'https://o:orgid.ingest.sentry.io/api/:projectid/envelope/', + destination: 'https://o:orgid.ingest.sentry.io/api/:projectid/envelope/?hsts=0', }; if (typeof originalRewrites !== 'function') {