In my local environment, when I go to checkout, it throws me an error, and reviewing the console, I detected it is caused because the call to this endpoint returns me a 404:
As I saw, it is because the request URL is adding the "checkout" parameter to the URL. I mean, the normal request should be:
But in this environment is constructed like this:
Adding the "checkout" word after the base URL. I think it is because is adding the full URL of the site as the base URL:
But I don't understand why. It only happens in my local environment, not in production or staging. Did you know why this could happen?