paulonerlOriginal post
Rank 2: Process
Hey guys I am developing a flutter app - the app is already in production. Now I need to change the URL from the public IP to a domain. I cannot break the old url because users already use this app and this would make the app non-functional
My question is - what would the best approach be? can i declare two urls in the env file? I already tried to make a redirection with nginx but appwrite prohibits this...
Any suggestions?
Summary
Developers are trying to change the URL of a Flutter app from a public IP to a domain without breaking the existing functionality for users. They have tried redirecting with Nginx but encountered issues with Appwrite blocking it. One solution could be using environmental variables to declare both URLs and conditionally using them in the app based on the environment.