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:
commit
9c04e90fdd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue