From 2099bfd0c7b08fbf1bfbc1ceb9a5bc2b8f89059f Mon Sep 17 00:00:00 2001 From: Janet Cobb Date: Thu, 20 Jun 2024 15:08:06 -0400 Subject: [PATCH] Fix protocol separator 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a793e204b..9aa1f0c9b 100644 --- a/README.md +++ b/README.md @@ -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)