Skip to content

Commit a75290f

Browse files
committed
handle -> handleFetch
1 parent 9a20695 commit a75290f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { HandleFetch } from '@sveltejs/kit';
22

3-
export const handle: HandleFetch = async ({ event, request, fetch }) => {
3+
export const handleFetch: HandleFetch = async ({ event, request, fetch }) => {
44
const cookies = event.request.headers.get('cookie');
55
if (request.url.startsWith('http://nais-api/') && cookies) {
66
request.headers.set('cookie', cookies);

0 commit comments

Comments
 (0)