I migrated my app to version 2.2. I have followed the instructions on how to migrate from version 2.0 to 2.2
I believe that the API URL is listed in the whitelisted domain in manifest.json.
Testing on local (using Freshwork CLI “fdk run”), I was able to run the app without the whitelisted domain issue.
But once published, the app can’t run because of the whitelisted domain issue.
Regarding this problem, we have found a solution.
By removing the port number from our external API URL on the whitelisted domain.
Is this behavior as expected?
Because in version 2.0 we can use URLs with port numbers in whitelisted-domains
In fact, in version 2.2 we can also use port numbers in the dev environment. but after the app is published, we have problem with whitelisted-domains
In whitelisted domains array, it is enough if we specify the domain url with the https:// protocol as prefix. No need to specify the absolute url path.