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
When using 'crossDomain' functionality we have to put the full URL, from my understanding, in each of the 'request.define'. This makes it difficult to test and switch environments. I would be helpful to be able to define a baseURL in a global fashion, then in the defines we can just provide the path for the given resource.
The text was updated successfully, but these errors were encountered:
If only some function that way, you could add some tests for the existing URL before modifying it.
Its not as efficient as setting it ahead of time, but it would provide the flexibility you want. I'll leave this feature request open in the mean time to see if it is something we could add to the amplify.
When using 'crossDomain' functionality we have to put the full URL, from my understanding, in each of the 'request.define'. This makes it difficult to test and switch environments. I would be helpful to be able to define a baseURL in a global fashion, then in the defines we can just provide the path for the given resource.
The text was updated successfully, but these errors were encountered: