Olá!
Recebi esse erro ao fazer o deploy do meu projeto na vercel. A API não carrega. No entanto, no localhost funciona normalmente.
'Mixed Content: The page at 'https://gisaflix.vercel.app/' was loaded over HTTPS, but requested an insecure resource 'http://api.themoviedb.org/3/discover/tv?api_key=chave*&language=pt-BR&with_networks=213'. This request has been blocked; the content must be served over HTTPS.'*
Desde já agradeço!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by robbie3999
on September 14, 2023 at 5:01 PM
Hi @Gisa99, it looks like the server you are using doesn't allow http requests from an https loaded page, try changing the api call to "https://api.themoviedb.org/......"