Skip to content

Clean up bootstrap allowed origins#359

Open
danshapiro wants to merge 1 commit into
mainfrom
codex/allowed-origins-bootstrap-cleanup
Open

Clean up bootstrap allowed origins#359
danshapiro wants to merge 1 commit into
mainfrom
codex/allowed-origins-bootstrap-cleanup

Conversation

@danshapiro
Copy link
Copy Markdown
Owner

Summary

  • keep generated ALLOWED_ORIGINS limited to production server origins
  • emit dev companion origins through EXTRA_ALLOWED_ORIGINS during first-run bootstrap
  • update docs/comments and bootstrap tests for the runtime NetworkManager contract

Verification

  • npm run test:vitest -- test/unit/server/bootstrap.test.ts --run
  • npm run test:vitest -- test/unit/server/network-manager.test.ts test/unit/server/bootstrap.test.ts test/server/ws-edge-cases.test.ts --run
  • npm run verify
  • npm run lint (0 errors, existing React hook warnings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants