Skip to content

Commit 3e166f8

Browse files
committed
fix: attach final header
Signed-off-by: Innei <[email protected]>
1 parent b80673b commit 3e166f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/request.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const $fetch = createFetch({
5353
// eslint-disable-next-line no-console
5454
console.info(`[Request]: ${context.request}`)
5555
}
56+
context.options.headers = headers
5657
},
5758
onResponse(context) {
5859
// log response

0 commit comments

Comments
 (0)