From e8535fbdd558cf3df5a391b81a42596e1af0d789 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 29 Jul 2024 07:15:44 +0000 Subject: [PATCH] Handle redirects for SPA in the stack (#2) Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Co-authored-by: Nabarun Reviewed-on: https://git.vdb.to/cerc-io/laconic-wallet-web/pulls/2 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- stack/stack-orchestrator/config/app/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stack/stack-orchestrator/config/app/run.sh b/stack/stack-orchestrator/config/app/run.sh index 2a1b6f3..95d8d4c 100755 --- a/stack/stack-orchestrator/config/app/run.sh +++ b/stack/stack-orchestrator/config/app/run.sh @@ -12,8 +12,8 @@ echo "CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT}" # Build with required env REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_ID \ -REACT_APP_DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE \ -REACT_APP_GAS_ADJUSTMENT=$GAS_ADJUSTMENT \ +REACT_APP_DEFAULT_GAS_PRICE=$CERC_DEFAULT_GAS_PRICE \ +REACT_APP_GAS_ADJUSTMENT=$CERC_GAS_ADJUSTMENT \ yarn build -http-server -p 80 /app/build +http-server --proxy http://localhost:80? -p 80 /app/build