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!
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från robbie3999
den 14 september 2023 vid 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/......"