So to setup the moralis server in SDK, we are doing āMoralis.start(SERVER_INFO)ā, thing is we want to have multiple environments, so both ātestnetā and āmainnetā in the same app - bad planning and we add it to an existing infrastructure that doesnāt allow us to have 2 different domains for theseā¦
So Iām asking, if I can do Moralis.start(), is there a Moralis.stop() somewhere? or Moralis.switchServer() or something of the like?
I found an undocumented ācleanup: () => Promise;ā function, which seems to work? but Iām not sure if thatās the right thing to useā¦