How to add fallback link to tRPC link (Mirror API URL if main URL fails)

My API URL is not functioning in Iran, I'm using Vercel and Vercel has banned Iran, I want to provide a different URL as a mirror API URL in case the main URL fails, How can I do that using tRPC links?
0 Replies
No replies yetBe the first to reply to this messageJoin