We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f325487 commit 2c246ecCopy full SHA for 2c246ec
packages/auth-server/composables/useAppKit.ts
@@ -5,9 +5,7 @@ export const useAppKit = () => {
5
const { defaultChain } = useClientStore();
6
7
const projectId = runtimeConfig.public.appKitProjectId;
8
-
9
- // Use fallback for SSR/build time when window is not available
10
- const origin = typeof window !== "undefined" ? window.location.origin : "https://auth.zksync.dev";
+ const origin = runtimeConfig.public.appUrl;
11
12
const metadata = {
13
name: "ZKsync SSO Auth Server",
0 commit comments