cors issue
pseudozach opened this issue · comments
Hi,
Thanks for this great service. Do you have any plans to enable CORS?
I'm getting the below error when querying from browser:
Access to XMLHttpRequest at 'https://jsonbox.io/box_xxx?query_key=asd&query_value=qwe' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I think enabling CORS will be great.
@pseudozach @srebalaji thanks for trying it out and raising this. I have enabled CORS now.
c2df3fb