Closed djfdev closed 3 years ago
I can't reproduce. I tested in here https://stackblitz.com/edit/unsplash-js-example-api-url?file=index.tsx with the same apiUrl
you provide, and I can see it in the logs that the request goes to the proxy URL and not to api.unsplash.com
. If you can show me a way to reproduce then I can help.
Apologies, I just updated Chrome and this is working as expected with my example code shared above. Thanks for taking a look.
Steps to Reproduce
1) Create an unsplash instance with proxy URL:
2) Call some method
Observed Behaviour
HTTP request goes directly to Unsplash:
Expected Behaviour
Request should go to my proxy at the specified
apiUrl
, not directly to unsplash.Technical Notes