I am trying to deploy my nuxt site on Netlify, it is deployed But I am facing some issues with environment variables. When I try to log in to the site, it's working correctly & moves to the index page. But when I am trying to search for something on the nuxt app the API fails due to an undefined environment variable even if I am using the same environment variable for the login API call. I am adding the environment variable here.
It's the successful API call with environment variables,
It's the unsuccessful API call with the same environment variables. Its also embedded in the other domain at the start of the API call.


