Once a path is visited in preview mode, it is available to public. #16015
Unanswered
kyashrathore
asked this question in
Help
Replies: 1 comment 3 replies
-
no preview mode only work with cookie |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a preview mode url "/api/preview?secret=token&path=/posts/id"
when I visit it first time with preview mode on, getStaticProps is called and I receive a page with update data in draft, that is completely fine.
But now any one can visit /posts/id and see what I am upto?
Probably because page generated for preview only is stored on disk.
Beta Was this translation helpful? Give feedback.
All reactions