diff --git a/packages/hoppscotch-sh-admin/src/helpers/auth.ts b/packages/hoppscotch-sh-admin/src/helpers/auth.ts index 850310b03..ba7385dbe 100644 --- a/packages/hoppscotch-sh-admin/src/helpers/auth.ts +++ b/packages/hoppscotch-sh-admin/src/helpers/auth.ts @@ -383,7 +383,7 @@ export const auth = { await this.signInWithEmailLink(deviceIdentifier, window.location.href); removeLocalConfig('deviceIdentifier'); - window.location.href = '/'; + window.location.href = import.meta.env.VITE_ADMIN_URL; } }, };