We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734a529 commit e6dc936Copy full SHA for e6dc936
src/hooks.server.ts
@@ -1,3 +1,8 @@
1
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';
4
-export const handle = withClerkHandler();
5
+export const handle = withClerkHandler({
6
+ publishableKey: PUBLIC_CLERK_PUBLISHABLE_KEY,
7
+ secretKey: CLERK_SECRET_KEY
8
+});
0 commit comments