From d8c0e9786f0837fb757313fc3519ff8fe3f46ccc Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 15 Jul 2024 14:56:14 -0600 Subject: [PATCH] Add note on hostname behavior --- chains/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chains/README.md b/chains/README.md index dbb910de..28c994e2 100644 --- a/chains/README.md +++ b/chains/README.md @@ -1,5 +1,9 @@ # Directory Layout +Note: the host name used in the user's browser (displayed in the address bar) to load the explorer app determines which of the chain configuration directories is used. +If the host name contains the substring "testnet" (for example: "https://mytestnetwork.example.com") then chain configuration files in the `testnet` directory (only) are loaded. Conversely if the host name does not contain that substring then chain configuration files in the `mainnet` directory (only) are loaded. +Remember to bear this behavior in mind when selecting a DNS host name for self hosting the explorer. + ** if you want to list your blockchain on ping.pub, please submit your configuration on https://github.com/ping-pub/ping.pub.git ** - Submit configs for mainnet, go to https://github.com/ping-pub/explorer/tree/master/chains/mainnet