Skip to content

Commit 2c246ec

Browse files
committed
fix: update url to app config
1 parent f325487 commit 2c246ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/auth-server/composables/useAppKit.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ export const useAppKit = () => {
55
const { defaultChain } = useClientStore();
66

77
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";
8+
const origin = runtimeConfig.public.appUrl;
119

1210
const metadata = {
1311
name: "ZKsync SSO Auth Server",

0 commit comments

Comments
 (0)