ENSApi should have more than one config object. There's an idea where ENSApi uses two config objects: 1. The env-based config built from env vars, available as a static import. 2. The ENSDb-based config (including ENSIndexer Public Config), derived from async ENSDb read, that is shared via middleware. It's best to start with a design for the requested changes, as there might be important details that have not yet been discovered. More details in thse threads: - https://namehash.slack.com/archives/C086Z6FNBHN/p1773092154129949 - https://namehash.slack.com/archives/C086Z6FNBHN/p1774338589997209
ENSApi should have more than one config object. There's an idea where ENSApi uses two config objects:
It's best to start with a design for the requested changes, as there might be important details that have not yet been discovered.
More details in thse threads: