diff --git a/src/emain.ts b/src/emain.ts index 5def6cb3..c98613c7 100644 --- a/src/emain.ts +++ b/src/emain.ts @@ -52,7 +52,7 @@ if (isDev) { } let app = electron.app; app.setName((isDev ? "Prompt (Dev)" : "Prompt")); -const DevLocalServerPath = "/Users/mike/prompt/local-server"; +const DevLocalServerPath = "/Users/mike/prompt-dev/local-server"; let localServerProc = null; let localServerShouldRestart = false; @@ -76,6 +76,9 @@ function getAppBasePath() { } function getBaseHostPort() { + if (isDev) { + return "http://localhost:8090"; + } return "http://localhost:8080"; } diff --git a/src/main.tsx b/src/main.tsx index 11c86996..f358ea68 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -2484,12 +2484,16 @@ class MainSideBar extends React.Component<{}, {}> { sessionList.push(session); } } + let isCollapsed = this.collapsed.get(); return ( -