start at /dashboard, focus cursor after clipboard text

This commit is contained in:
CREDO23 2026-03-25 16:08:39 +02:00
parent 91ad36027d
commit 4a5a28805d
2 changed files with 9 additions and 2 deletions

View file

@ -33,7 +33,7 @@ export function createMainWindow(): BrowserWindow {
mainWindow?.show();
});
mainWindow.loadURL(`http://localhost:${getServerPort()}/login`);
mainWindow.loadURL(`http://localhost:${getServerPort()}/dashboard`);
mainWindow.webContents.setWindowOpenHandler(({ url }) => {
if (url.startsWith('http://localhost')) {