Open dvnrsn opened 1 month ago
Maybe it should be
presentationTool({
previewUrl: process.env.SANITY_STUDIO_PREVIEW_URL || 'http://localhost:3000',
I believe the origin is needed here so something like
previewUrl: {
origin: process.env.SANITY_STUDIO_PREVIEW_URL || 'https://sharonmcmahon.com',
previewMode: {enable: '/resource/preview'},
},
This begins to work if I use
~But then I get no matching documents even though I have content displaying fine~ edit: this seems to work