feat: custom location on admin redirect to base (#3103)

This commit is contained in:
Webysther Sperandio
2023-06-20 20:43:40 +02:00
committed by GitHub
parent 4ba135f3b9
commit d7cc9f5dbc

View File

@@ -383,7 +383,7 @@ export const auth = {
await this.signInWithEmailLink(deviceIdentifier, window.location.href); await this.signInWithEmailLink(deviceIdentifier, window.location.href);
removeLocalConfig('deviceIdentifier'); removeLocalConfig('deviceIdentifier');
window.location.href = '/'; window.location.href = import.meta.env.VITE_ADMIN_URL;
} }
}, },
}; };