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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
},
};