explorers: read the chain each one is for, at the path it is served on
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:
2026-09-09 00:02:04 -07:00
co-authored by Hanzo Dev
parent 4b54255f8b
commit 4a3c9b3d95
5 changed files with 34 additions and 9 deletions
+7 -2
View File
@@ -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'
+6 -1
View File
@@ -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
+7 -2
View File
@@ -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:
+7 -2
View File
@@ -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'
+7 -2
View File
@@ -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'