From e84e5eb2418fd3b4288b0a451a044c977cce4bb2 Mon Sep 17 00:00:00 2001 From: sravan Date: Wed, 1 Jul 2026 17:55:49 +0530 Subject: [PATCH] feat(desktop): open the landing page (pre-login), not /home directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The desktop app was hardcoded to /home, so it jumped straight to the login form and skipped the 'before login' landing (no-login 'Share my screen' + sign-in). Now loads / — same entry as the website; it redirects logged-in users to /home. Co-Authored-By: Claude Opus 4.8 --- desktop/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/main.js b/desktop/main.js index f4b9f61..8ec0f25 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -58,7 +58,9 @@ function createWindow() { }, }); - win.loadURL(SERVER_URL + '/home'); + // Open the landing page (same entry as the website): the "before login" screen with the + // no-login "Share my screen" option + sign-in. It redirects logged-in users straight to /home. + win.loadURL(SERVER_URL + '/'); // Open target=_blank / external links in the system browser instead of a new Electron window. win.webContents.setWindowOpenHandler(({ url }) => {