This should redirect to the homepage with preview parameters:
Test Valid PreviewThis should test dynamic route preview:
Test Article PreviewFor reference, your Strapi config should generate URLs like this:
https://takerofnotes.com/preview?secret=preview-secret-key-change-this-in-production&path=/articles/my-article&status=draft&documentId=123&uid=api::article.article
Make sure these are set in your .env file:
VITE_CLIENT_URL=https://takerofnotes.com VITE_PREVIEW_SECRET=preview-secret-key-change-this-in-production
And in your Strapi .env file:
CLIENT_URL=https://takerofnotes.com PREVIEW_SECRET=preview-secret-key-change-this-in-production