Skip to content

Commit

Permalink
Fix protocol separator
Browse files Browse the repository at this point in the history
Based on [0], LOCAL_APPS expects the format `service:port~proto`, not `service:port:proto`.

[0]: https://github.com/RedHatInsights/frontend-components/blob/fc61adcd088fe25997c36b8ef799f37dd7691739/packages/config-utils/src/proxy.ts#L70-L72
  • Loading branch information
randomnetcat committed Jun 20, 2024
1 parent 88212d3 commit 2099bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You can spin chrome locally together with other applications. Use `LOCAL_APPS` t
For illustration, to deploy Advisor together with Insights Chrome, you would require to

1. Run Advisor on any available port with `npm run start -- --port=8004` or `npm run start:beta -- --port=8004`,
2. Run Chrome and list the Advisor's port: `LOCAL_APPS=advisor:8004:http npm run dev` or `LOCAL_APPS=advisor:8004:http npm run dev:beta`.
2. Run Chrome and list the Advisor's port: `LOCAL_APPS=advisor:8004~http npm run dev` or `LOCAL_APPS=advisor:8004~http npm run dev:beta`.
#### Example 2 (using devServer route)
Expand Down

0 comments on commit 2099bfd

Please sign in to comment.