Design comparison
Community feedback
- @abu-hasibPosted over 2 years ago
It is giving this error when searching for a domain:
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://geo.ipify.org/api/v2/country,city?apiKey=at_q8eZXmpQ9whWaLxa88ymX6pF627wD&ipAddress=8.8.8.8&domain=. (Reason: CORS request did not succeed). Status code: (null)."
These links may be helpful: https://stackoverflow.com/questions/67958191/how-to-fix-cors-error-in-vanilla-javascript-here-is-my-code https://dev.to/cigwe416/fix-cors-error-javascript-1na2
0@stijnmeershoekPosted over 2 years ago@abu-hasib I don’t have that error when I search for a domain you probably entered an invalid domain, and also I’m fetching an api the api then checks the domain so I can’t do anything about that CORS error that’s something the api does
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord