diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index 47fc92e0..f7e82f07 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -166,7 +166,7 @@ export class WindowManager { if (!app.isPackaged) authWindow.webContents.openDevTools(); authWindow.loadURL( - `${import.meta.env.MAIN_VITE_AUTH_URL}/${page}?${searchParams.toString()}` + `${import.meta.env.MAIN_VITE_AUTH_URL}${page}?${searchParams.toString()}` ); authWindow.once("ready-to-show", () => { diff --git a/src/shared/constants.ts b/src/shared/constants.ts index 62a97d83..f2bcc793 100644 --- a/src/shared/constants.ts +++ b/src/shared/constants.ts @@ -44,7 +44,7 @@ export enum Cracker { } export enum AuthPage { - SignIn = "", - UpdateEmail = "update-email", - UpdatePassword = "update-password", + SignIn = "/", + UpdateEmail = "/update-email", + UpdatePassword = "/update-password", }