Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss committed Nov 13, 2024
1 parent c4dd6ab commit 0a1b4d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ if (!gotTheLock) {
}

function loadComfyIntoMainWindow() {
appWindow.loadURL(`http://localhost:${5174}`);
appWindow.loadURL(`http://${host}:${port}`);
}
function restartApp({ customMessage, delay }: { customMessage?: string; delay?: number } = {}): void {
function relaunchApplication(delay?: number) {
Expand Down Expand Up @@ -365,8 +365,8 @@ const launchPythonServer = async (
'--output-directory',
outputDirectoryPath,
...(process.env.COMFYUI_CPU_ONLY === 'true' ? ['--cpu'] : []),
// '--front-end-root',
// path.join(appResourcesPath, 'ComfyUI', 'web_custom_versions', 'desktop_app'),
'--front-end-root',
path.join(appResourcesPath, 'ComfyUI', 'web_custom_versions', 'desktop_app'),
'--extra-model-paths-config',
modelConfigPath,
'--port',
Expand Down

0 comments on commit 0a1b4d8

Please sign in to comment.