Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
feat: custom location on admin redirect to base (#3103)
Webysther Sperandio03f667c21dbc
diff --git a/packages/hoppscotch-sh-admin/src/helpers/auth.ts b/packages/hoppscotch-sh-admin/src/helpers/auth.tsindex 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;}},};