Closed selankon closed 10 months ago
I think this should be a more generic issue, and also ensure setting custom urls in the client works. Right now I'm pretty sure it won't work in some scenarios, and should be checked and fixed.
I'm changing the title.
Due to how the env
and api_url
settings work, there's a clash in some scenarios that could be resolved by storing the first defined api_url
via the provider (when a client is specified, ofc). But after speaking with Marc, we considered this can wait until the SDK refactoring of this part (see vocdoni/vocdoni-sdk/issues/243), since it should not be required to do magical stuff with the env and urls after such refactoring is done.
closed by #118
Dang, we did forgot about the census3 options 🤦🏼
The census 3 have an attribute called api-url to point the census3 service, which on the react providers, cannot be changed.