mistval / unofficial-jisho-api

Encapsulates the official Jisho.org API and also provides kanji, example, and stroke diagram search.
MIT License
139 stars 14 forks source link

sameSite attribute issue #31

Closed DhansAL closed 3 years ago

DhansAL commented 3 years ago

I'm getting this "issue" on the console, Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute while working with this API. and because of this, I cant make multiple requests with this API. I tried resolving it on client side but didn't found any promising solution.

mistval commented 3 years ago

Hello, to use this module, or the Jisho API in general, in a web browser, you would need to use a proxy to get around cross-origin resource sharing restrictions. This is due to server-side configuration on Jisho.org that we don't control.

DhansAL commented 3 years ago

oh if thats the case ill do so, thanks :)