Window.prismic.endpoint is deprecated

Hey Alan, welcome to the Prismic forum.

Thank you very much for making us aware of this. I'll make sure this section of the documentation is clearer.

For now, you need to check the preview script in your repo for new=true and if you don't see it, just ask us to activate the New toolbar for you here in the forum: