explorers: read the chain each one is for, at the path it is served on
CI/CD / render (push) Failing after 0s
CI/CD / render (push) Failing after 0s
Every card on all five explorers was a skeleton that never resolved. The UI reads a Blockscout-shaped API, and this backend mounts one per chain at /v1/indexer/<slug>; with NEXT_PUBLIC_API_BASE_PATH "/" the page asked for /stats, /main-page/blocks and /config/backend-version, which 404, while the same paths under the prefix answer 200. All five also named the same slug's host as their own APP_HOST, so each brand described itself as explore.lux.network. Each now names its own chain and its own host: zoo reads zoo, hanzo reads hanzo, pars reads pars, spc reads spc. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -87,9 +87,14 @@ configMaps:
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/v1/chain/c/rpc
|
||||
NEXT_PUBLIC_API_HOST: api-explore.lux.network
|
||||
NEXT_PUBLIC_API_PROTOCOL: https
|
||||
NEXT_PUBLIC_API_BASE_PATH: /
|
||||
# The Blockscout-shaped API this UI reads is mounted per chain at
|
||||
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
|
||||
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
|
||||
# so every card stays a skeleton that never resolves while the same paths
|
||||
# under this prefix answer 200.
|
||||
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/hanzo
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
|
||||
NEXT_PUBLIC_APP_HOST: explore.lux.network
|
||||
NEXT_PUBLIC_APP_HOST: explore.hanzo.network
|
||||
NEXT_PUBLIC_APP_PROTOCOL: https
|
||||
NEXT_PUBLIC_IS_TESTNET: 'false'
|
||||
|
||||
|
||||
@@ -91,7 +91,12 @@ configMaps:
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/v1/chain/c/rpc
|
||||
NEXT_PUBLIC_API_HOST: api-explore.lux.network
|
||||
NEXT_PUBLIC_API_PROTOCOL: https
|
||||
NEXT_PUBLIC_API_BASE_PATH: /
|
||||
# The Blockscout-shaped API this UI reads is mounted per chain at
|
||||
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
|
||||
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
|
||||
# so every card stays a skeleton that never resolves while the same paths
|
||||
# under this prefix answer 200.
|
||||
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/cchain
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
|
||||
NEXT_PUBLIC_APP_HOST: explore.lux.network
|
||||
NEXT_PUBLIC_APP_PROTOCOL: https
|
||||
|
||||
@@ -82,9 +82,14 @@ configMaps:
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/v1/chain/c/rpc
|
||||
NEXT_PUBLIC_API_HOST: api-explore.lux.network
|
||||
NEXT_PUBLIC_API_PROTOCOL: https
|
||||
NEXT_PUBLIC_API_BASE_PATH: /
|
||||
# The Blockscout-shaped API this UI reads is mounted per chain at
|
||||
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
|
||||
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
|
||||
# so every card stays a skeleton that never resolves while the same paths
|
||||
# under this prefix answer 200.
|
||||
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/pars
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
|
||||
NEXT_PUBLIC_APP_HOST: explore.lux.network
|
||||
NEXT_PUBLIC_APP_HOST: explore.pars.network
|
||||
NEXT_PUBLIC_APP_PROTOCOL: https
|
||||
NEXT_PUBLIC_IS_TESTNET: 'false'
|
||||
routes:
|
||||
|
||||
@@ -91,9 +91,14 @@ configMaps:
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/v1/chain/c/rpc
|
||||
NEXT_PUBLIC_API_HOST: api-explore.lux.network
|
||||
NEXT_PUBLIC_API_PROTOCOL: https
|
||||
NEXT_PUBLIC_API_BASE_PATH: /
|
||||
# The Blockscout-shaped API this UI reads is mounted per chain at
|
||||
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
|
||||
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
|
||||
# so every card stays a skeleton that never resolves while the same paths
|
||||
# under this prefix answer 200.
|
||||
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/spc
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
|
||||
NEXT_PUBLIC_APP_HOST: explore.lux.network
|
||||
NEXT_PUBLIC_APP_HOST: explore-spc.lux.network
|
||||
NEXT_PUBLIC_APP_PROTOCOL: https
|
||||
NEXT_PUBLIC_IS_TESTNET: 'false'
|
||||
|
||||
|
||||
@@ -87,9 +87,14 @@ configMaps:
|
||||
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.lux.network/v1/chain/c/rpc
|
||||
NEXT_PUBLIC_API_HOST: api-explore.lux.network
|
||||
NEXT_PUBLIC_API_PROTOCOL: https
|
||||
NEXT_PUBLIC_API_BASE_PATH: /
|
||||
# The Blockscout-shaped API this UI reads is mounted per chain at
|
||||
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
|
||||
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
|
||||
# so every card stays a skeleton that never resolves while the same paths
|
||||
# under this prefix answer 200.
|
||||
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/zoo
|
||||
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
|
||||
NEXT_PUBLIC_APP_HOST: explore.lux.network
|
||||
NEXT_PUBLIC_APP_HOST: explore.zoo.network
|
||||
NEXT_PUBLIC_APP_PROTOCOL: https
|
||||
NEXT_PUBLIC_IS_TESTNET: 'false'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user