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!
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την robbie3999
στις 14 Σεπτέμβριος 2023 στις 05:01 ΜΜ
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/......"