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!
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de robbie3999
le 14 septembre 2023 à 17h01
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/......"