diff --git a/src/createWindow.ts b/src/createWindow.ts index c6962b6..9b51226 100644 --- a/src/createWindow.ts +++ b/src/createWindow.ts @@ -88,7 +88,7 @@ interface WindowProps { } export function createSplashScreenWindow(props?: WindowProps): BrowserWindow { - const url = props?.url || `${baseUrl}/desktopApp/login`; + const url = props?.url || `${baseUrl}/desktopApp/auth`; const window = createBaseWindow({ url, diff --git a/src/ipc.ts b/src/ipc.ts index 92546d4..509b9b4 100644 --- a/src/ipc.ts +++ b/src/ipc.ts @@ -33,7 +33,7 @@ export function setIpcEventListeners(): void { // When logging out we have to close all the windows, and do the actual logout navigation in a splash window ipcMain.on(events.LOGOUT, () => { - const url = `${baseUrl}/logout?goto=/desktopApp/login`; + const url = `${baseUrl}/logout?goto=/desktopApp/auth`; BrowserWindow.getAllWindows().forEach((win) => win.close()); createSplashScreenWindow({ url });