You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm embeding sanity studio inside a Next.js app (app router). The problem I am facing is that while previewing in production I have not been able to set the URL correctly within the studio.
I'm embeding sanity studio inside a Next.js app (app router). The problem I am facing is that while previewing in production I have not been able to set the URL correctly within the studio.
I am using this plugin to do it https://www.sanity.io/plugins/iframe-pane.
Within the options it is possible to configure the URL to which it must redirect to preview the document.
I would like to configure the URL so that it detects if I am local or in production, and if it is a document with slug or home.
There is a way to do this?
Any documentation will be helpful too, but unfortunately I haven't found this.
Thanks in advance!
The text was updated successfully, but these errors were encountered: