unsplash/unsplash-js

apiUrl issue

marconunnari opened this issue · 1 comments

Steps to Reproduce

  • Create a client in the browser as outlined in the readme:
const unsplash = createApi({
  apiUrl: 'https://example.com/unsplash-proxy',
});
  • Make a search:
unsplash.search.getPhotos({
  query: 'cat',
  page: 1,
  perPage: 10,
  color: 'green',
  orientation: 'portrait',
});

Observed Behaviour

Expected Behaviour

Technical Notes

Addressed in #155. Published in 7.0.2 https://github.com/unsplash/unsplash-js/releases/tag/v7.0.2. Thanks for reporting!