feat: code suggestion

This commit is contained in:
Zamitto 2025-01-16 11:22:10 -03:00
parent 923f7d7e80
commit 81cb73c243
2 changed files with 4 additions and 4 deletions

View File

@ -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", () => {

View File

@ -44,7 +44,7 @@ export enum Cracker {
}
export enum AuthPage {
SignIn = "",
UpdateEmail = "update-email",
UpdatePassword = "update-password",
SignIn = "/",
UpdateEmail = "/update-email",
UpdatePassword = "/update-password",
}