mirror of
https://github.com/block/goose.git
synced 2026-04-28 03:29:36 +00:00
Use goose port (#7089)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
parent
a9f4cac548
commit
7779457087
2 changed files with 2 additions and 2 deletions
1
Justfile
1
Justfile
|
|
@ -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" } }}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue