Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ debug-ui *alpha:
@echo "🚀 Starting goose frontend in external backend mode{{ if alpha == "alpha" { " with alpha features enabled" } else { "" } }}"
cd ui/desktop && \
export GOOSE_EXTERNAL_BACKEND=true && \
export GOOSE_EXTERNAL_PORT=3000 && \
{{ if alpha == "alpha" { "export ALPHA=true &&" } else { "" } }} \
npm install && \
npm run {{ if alpha == "alpha" { "start-alpha-gui" } else { "start-gui" } }}
Expand Down
3 changes: 2 additions & 1 deletion ui/desktop/src/goosed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ export const startGoosed = async (options: StartGoosedOptions): Promise<GoosedRe
}

if (process.env.GOOSE_EXTERNAL_BACKEND) {
return connectToExternalBackend(dir, 'http://127.0.0.1:3000');
const port = process.env.GOOSE_PORT || '3000';
return connectToExternalBackend(dir, `http://127.0.0.1:${port}`);
}

let goosedPath = getGoosedBinaryPath(app);
Expand Down
Loading