Skip to content

Commit d9c2b5c

Browse files
committed
fix: Don't set referrerPolicy on serverside fetch transports
Fixes #9194
1 parent 4236181 commit d9c2b5c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/bun/src/transports/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function makeFetchTransport(options: BunTransportOptions): Transport {
1515
const requestOptions: RequestInit = {
1616
body: request.body,
1717
method: 'POST',
18-
referrerPolicy: 'origin',
1918
headers: options.headers,
2019
};
2120

packages/vercel-edge/src/transports/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export function makeEdgeTransport(options: VercelEdgeTransportOptions): Transpor
8383
const requestOptions: RequestInit = {
8484
body: request.body,
8585
method: 'POST',
86-
referrerPolicy: 'origin',
8786
headers: options.headers,
8887
...options.fetchOptions,
8988
};

0 commit comments

Comments
 (0)