When I used the "append_to_response" in my api and call from local, I get all the fields I need. But when I deploy my site to netlify, I only get the basic information for a moive. And all the files I put after "append_to_response" are gone. Is there any reason for that?
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de mouseswimming
pe data de 17 octombrie 2023 la ora 10:04 PM
Actually, I found the api just ignore all my query. And all these api calls working in my local correctly.
https://vivian-entertainment-nuxt.netlify.app/api/tmdb/movie/now_playing?**page=3**&language=en
But in response, I can see it still point to page 1. { "dates": { "maximum": "2023-10-16", "minimum": "2023-08-29" }, "page": 1,
Răspuns de mouseswimming
pe data de 17 octombrie 2023 la ora 10:31 PM
nvm, it is my config issue