Skip to content

Commit 1c63bba

Browse files
authored
ref: Disable node session for next.js (#3558)
* ref: Disable node session for next.js * ref: Force disable session for next.js server
1 parent 603b4ac commit 1c63bba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/nextjs/src/index.server.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export function init(options: NextjsOptions): void {
2222
options.integrations = [defaultRewriteFrames];
2323
}
2424

25+
// Right now we only capture frontend sessions for Next.js
26+
options.autoSessionTracking = false;
27+
2528
nodeInit(options);
2629
configureScope(scope => {
2730
scope.setTag('runtime', 'node');

0 commit comments

Comments
 (0)