I finished the Jammming project but its not working! I get this error in the console
Access to fetch at 'https://api.spotify.com/v1/search?type=track&q=' from origin 'http://jamming-music.surge.sh' has been blocked by CORS policy: Request header field authoriztion is not allowed by Access-Control-Allow-Headers in preflight response. api.spotify.com/v1/search?type=track&q=:1 Failed to load resource: net::ERR_FAILED (index):1 Uncaught (in promise) TypeError: Failed to fetch
Has anyone seen that before?
I’ve triple checked my code and everything is correct.