Merge pull request #57 from proxikal/fix/settings-http-server-status-ipc

fix: wrap HTTP_SERVER_GET_STATUS response in IpcResult envelope
This commit is contained in:
matt 2026-02-22 19:50:05 +09:00 committed by GitHub
commit 9c04e90fdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,7 +310,7 @@ function initializeServices(): void {
});
ipcMain.handle(HTTP_SERVER_GET_STATUS, () => {
return { running: httpServer.isRunning(), port: httpServer.getPort() };
return { success: true, data: { running: httpServer.isRunning(), port: httpServer.getPort() } };
});
// Forward SSH state changes to renderer and HTTP SSE clients