Window.prismic.endpoint is deprecated


I follow this document to setup preview in my ruby web application -

The Prismic toolbar do not appear and I saw below message in console.

What should I follow between the console log and Prismic document?

1 Like

I have replaced old script with the one from Browser pop-up and the preview is working.

I think you should update the Javascript in dashboard /settings/previews/

1 Like