Closed markkaylor closed 3 years ago
Bummer, should have tested in other browsers. I'll take a look. It's not exactly the same, sorry should have sent it. It's also in the preview.js file but here you go:
/**
* You can preview pages with URLs like this:
* http://localhost:8000/preview/<slug>?secret=<preview-secret>
* where <preview-secret> is the PREVIEW_SECRET variable defined in your .env config
* and <slug> is the slug you entered in Strapi for your page
*/
@remidej added secure
and sameSite
option https://www.npmjs.com/package/react-cookie
This solution tries to imitate the experience found on https://github.com/strapi/strapi-starter-next-corporate