I’ve updated a preview url in Settings>Preview from
http://localhost:4000. Now the preview on localhost works only on draft pages. On published pages I always land on the homepage.
I’ve taken a look at this troubleshoot guide, but it did not help. When I copy-paste the preview token in the URL to test in the Rest API, I got “586 documents found” but I cannot see my preview.
The preview on Production works still fine on draft and published pages. I did not change the URL there.
So the code works for Production and the previous localhost but does not work for the new localhost.
What am I missing to make the new localhost preview URL work?