diverseui
diverseui copied to clipboard
CORS error
I'm trying to get the avatars through api using the following code:
api.get('https://diverseui.com/images').then(res => {
console.log(res)
})
But i got CORS error message.
Access to XMLHttpRequest at 'https://diverseui.com/images' from origin 'http://localhost:8888' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
What should I do?