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!
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika robbie3999
14 września 2023 o godz. 5:01PM
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/......"