mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 02:07:55 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user