I am trying to create a product subscription App and when I am trying to make an API call I get this error.
The URL you're calling is not allowed. Fetch calls can only come from example.domain.com
Is this expected? How do I fix this and where can I find all the restrictions if any?
I think the simplest way to address this currently (if you just want to test things locally) is (as of argo-admin-cli 0.9.3):
Of course, next time you install the application code the settings will be overwritten. But, this will at least get you going until a permanent solution is complete. Make sure that your tunneled domain is also part of the .env.client (or .env.client.local) file used by "shopify serve" (https://www.npmjs.com/package/@shopify/argo-admin-cli/v/0.1.5#environment-variables).