onflow/fcl-discovery

Support explicit mainnet path in routes and APIs

Closed this issue · 0 comments

Currently, routes look like this:

Discovery Routes

Environment Example
Mainnet http://localhost:3002/authn
Testnet http://localhost:3002/testnet/authn
Local http://localhost:3002/local/authn

Discovery API Endpoints

Environment Example
Mainnet http://localhost:3002/api/authn
Testnet http://localhost:3002/api/testnet/authn
Local http://localhost:3002/api/local/authn

TODO

Add mainnet an explicit mainnet path for both API and UI to support if it is specified.

  • http://localhost:3002/mainnet/authn
  • http://localhost:3002/api/mainnet/authn