Skip to content

Commit

Permalink
Use parent request headers in SS fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
RaeesBhatti committed Nov 25, 2021
1 parent c6b9ee4 commit 228f0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/kit/src/runtime/server/page/load_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export async function load_node({
const relative = resolved;

const headers = /** @type {import('types/helper').RequestHeaders} */ ({
...request.headers,
...opts.headers
});

Expand Down

0 comments on commit 228f0e6

Please sign in to comment.