You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(dev): support configurable ports and hosts for multi-workspace and cloudtop (#983)
* feat(dev): support configurable ports and hosts for multi-workspace and cloudtop
Support configuring ports and hosts via environment variables for KHI development servers and test runners.
- Makefile: allow overriding WEB_HOST, WEB_PORT, BACKEND_HOST, BACKEND_PORT, STORYBOOK_HOST, STORYBOOK_PORT, and KARMA_PORT. Add --allowed-hosts flag automatically when WEB_HOST is 0.0.0.0.
- Angular proxy: forward to BACKEND_HOST and BACKEND_PORT, normalizing 0.0.0.0 to 127.0.0.1 for HTTP proxy target.
- Karma: configure port from KARMA_PORT, bind to 127.0.0.1, and set --remote-debugging-port=0 to avoid debugging port collisions in headless Chrome.
* fix(dev): update karma beginsPattern regex to match 127.0.0.1 in tasks.json
0 commit comments