Skip to content

Commit

Permalink
Revert "Revert "Update default splash screen URL to new auth page (#55)…
Browse files Browse the repository at this point in the history
…" (#56)" (#63)

This reverts commit 06ba727.
  • Loading branch information
sergeichestakov authored Jun 22, 2023
1 parent 674998d commit f745a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/createWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit f745a4d

Please sign in to comment.