Handle redirects for SPA in the stack #2

Merged
nabarun merged 2 commits from ng-fix-spa into main 2024-07-29 07:15:45 +00:00

View File

@ -12,8 +12,8 @@ echo "CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT}"
# Build with required env # Build with required env
REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_ID \ REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_ID \
REACT_APP_DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE \ REACT_APP_DEFAULT_GAS_PRICE=$CERC_DEFAULT_GAS_PRICE \
REACT_APP_GAS_ADJUSTMENT=$GAS_ADJUSTMENT \ REACT_APP_GAS_ADJUSTMENT=$CERC_GAS_ADJUSTMENT \
yarn build yarn build
http-server -p 80 /app/build http-server --proxy http://localhost:80? -p 80 /app/build