fix: add production fallback endpoints for blockchain connection

- Add VITE_NETWORK and endpoint env vars to CI/CD build
- Add Asset Hub and People Chain endpoints to build config
- Add hardcoded production fallbacks in PezkuwiContext
- Disable WebSocket real-time service (not deployed yet)
- Endpoints: rpc.pezkuwichain.io, mainnet, beta, asset-hub, people
This commit is contained in:
2026-02-04 12:19:29 +03:00
parent 468e8d18f0
commit 91e14bf200
3 changed files with 24 additions and 8 deletions
+7
View File
@@ -61,6 +61,13 @@ jobs:
- name: Build Project
working-directory: ./web
run: npm run build
env:
VITE_NETWORK: BETA
VITE_WS_ENDPOINT: wss://rpc.pezkuwichain.io:9944
VITE_WS_ENDPOINT_FALLBACK_1: wss://mainnet.pezkuwichain.io
VITE_WS_ENDPOINT_FALLBACK_2: wss://beta.pezkuwichain.io
VITE_ASSET_HUB_ENDPOINT: wss://asset-hub-rpc.pezkuwichain.io
VITE_PEOPLE_CHAIN_ENDPOINT: wss://people-rpc.pezkuwichain.io
- name: Upload build artifact
uses: actions/upload-artifact@v4