You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your message!
We really didn't set the goal to support multiple APIs at the same time.
Admiral's logic initially involves passing a prefix for server-side URLs, e.g.: '/api', which would be substituted at the beginning of all URLs for requests.
The way you suggested looks good. I think this is the way to go.
Just wondered if there was an idiomatic way to configure one Admiral frontend instance to talk to multiple backend APIs?
In my case, I have a bunch of different microservices all sharing an authentication method (JWT).
The best way I've found is to do something like the following:
then supplying
mdp
to<Admin>
as itsdataProvider
prop.Is there a better/easier/more Admiral-ish way?
The text was updated successfully, but these errors were encountered: