spacemeshos / explorer-backend

Spacemesh explorer backend designed to provide data for explorer-frontends
GNU General Public License v3.0
6 stars 2 forks source link

Update dash and explore friendly url scheme #13

Closed avive closed 8 months ago

avive commented 2 years ago

motivation

We originally designed dash and explorer to support one Spacemesh network at a time. e.g. a testnet. Later we added a drop-down in the dash and explore front-ends to enable user to switch between live networks so we can support more than one network. This solution is unsatisfactory as the urls created for data on different networks are identical to each other and this causes lots of confusion.

What we'd like to do is to properly support multiple networks and have friendly content urls that clearly identify a specific network.

We also want to automatically redirect https://explorer.spacemesh.io and https://dash.spacemesh.ioto one of the live networks specified in the discovery meta-data for quick and easy access to a default network via a super friendly url.

changes