fix login url (#672)

This commit is contained in:
ABevier 2023-06-17 21:37:31 -04:00 committed by GitHub
parent 4ba8072ac5
commit 4b3f280e0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
if (session && session.device_id) {
const baseUrl = await getBaseURL();
shellOpenExternal(`${baseUrl}/auth/user?device_id=${session.device_id}`);
shellOpenExternal(`${baseUrl}/v1/auth/user?device_id=${session.device_id}`);
pollDeviceSession();
} else {
throw new Error("possible no internet connection");