Skip to content

Commit e6dc936

Browse files
committed
pass keys explicitly
1 parent 734a529 commit e6dc936

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/hooks.server.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
import { withClerkHandler } from 'svelte-clerk/server';
2+
import { PUBLIC_CLERK_PUBLISHABLE_KEY } from '$env/static/public';
3+
import { CLERK_SECRET_KEY } from '$env/static/private';
24

3-
export const handle = withClerkHandler();
5+
export const handle = withClerkHandler({
6+
publishableKey: PUBLIC_CLERK_PUBLISHABLE_KEY,
7+
secretKey: CLERK_SECRET_KEY
8+
});

0 commit comments

Comments
 (0)