Window.prismic.endpoint is deprecated

Hi,

I follow this document to setup preview in my ruby web application - https://prismic.io/docs/ruby/beyond-the-api/in-website-preview.

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