First, I'm sorry to make a big one commit. 😥 But I'll write detailed explanations about changes.
Network
This part is the most important in this pull request. Since https://github.com/planetarium/mimir/pull/189, MImir became to handle one network per one instance. And they have each endpoint and they are separated by the first path parameter (https://mimir.nine-chronicles.dev/<network>).
When I made the changes, I thought internal mimir and mainnet mimir can be merged into one url. In other words, I expected https://internal-mimir.nine-chronicles.dev/heimdall to become https://mimir.nine-chronicles.dev/heimdall-internal because https://mimir.nine-chronicles.dev is just a root url not mimir instance.
We kept MIMIR_GRAPHQL_URL_MAP because you can still put your own hosted mimirs in it, but we simplified the complexity of splitting internal mimirs and mimirs and interpreting them as NodeType and PlanetName.
In the process, I simply changed the original odin-main back to odin. I also redirected odin-main to odin to avoid breaking links for existing users and heimdall. Check out the changes to the following.config.js file. I've also fixed it in the README.
First, I'm sorry to make a big one commit. 😥 But I'll write detailed explanations about changes.
Network
This part is the most important in this pull request. Since https://github.com/planetarium/mimir/pull/189, MImir became to handle one network per one instance. And they have each endpoint and they are separated by the first path parameter (
https://mimir.nine-chronicles.dev/<network>
).When I made the changes, I thought internal mimir and mainnet mimir can be merged into one url. In other words, I expected
https://internal-mimir.nine-chronicles.dev/heimdall
to becomehttps://mimir.nine-chronicles.dev/heimdall-internal
becausehttps://mimir.nine-chronicles.dev
is just a root url not mimir instance.We kept
MIMIR_GRAPHQL_URL_MAP
because you can still put your own hosted mimirs in it, but we simplified the complexity of splitting internal mimirs and mimirs and interpreting them asNodeType
andPlanetName
.In the process, I simply changed the original
odin-main
back toodin
. I also redirectedodin-main
toodin
to avoid breaking links for existing users and heimdall. Check out the changes to the following.config.js file. I've also fixed it in the README.Documentation
I have changes documentations:
https://planetarium-9c-board.netlify.app/
→https://9c-board.nine-chronicles.dev/
MIMIR_GRAPHQL_URL_MAP
environment variable too.