next.js
6f352357 - Ensure path can be specified for clearPreviewData (#40238)

Commit
3 years ago
Ensure path can be specified for clearPreviewData (#40238) As updated in https://github.com/vercel/next.js/pull/38313 this ensures the `path` option can also be passed to `clearPreviewData` to properly clear the preview cookies. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/39853
Author
Parents
Loading