Skip to content

content/docs/guide/console.md still states a VITE_SERVER_URL http://localhost:3000 dev default that PR #5765 emptied #5802

Description

@os-zhuang

Filed unassigned by the developer agent on #5766, as an out-of-scope finding (same defect class, different file — #5766's scope is bounded to the two package READMEs and does not cover content/docs/).

PR #5765 (#5745) emptied VITE_SERVER_URL in apps/console/.env.development — same-origin by default, with the Vite dev proxy (/api only) forwarding to DEV_PROXY_TARGET or http://localhost:3000. content/docs/guide/console.md still describes the old non-empty default in two places:

  • Line 18: "There is no bundled mock backend — apps/console/.env.development points VITE_SERVER_URL at http://localhost:3000, so an ObjectStack server has to be listening there."
  • Line 55: "apps/console/.env.development defaults it to http://localhost:3000, and an empty value means same origin." (the second half is now the actual default, not an alternative to it)

Suggested fix, matching the resolution just applied to apps/console/README.md and examples/console-starter/README.md in #5766: state that .env.development ships empty (same-origin) and that pointing dev at a different backend without breaking same-origin auth is done via DEV_PROXY_TARGET, e.g. DEV_PROXY_TARGET=https://demo.objectstack.ai pnpm dev.

Not evaluated: whether content/docs/ prose changes need to go through a different review path than package READMEs (the two READMEs fixed in #5766 are outside content/).

Refs

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpm:queue

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions