draft page render when slug(of draft page) hit in url

default discord avatar
bhavikak
6 months ago
4

hello i want to render those pages which status is published



when i hit baseurl with slug of any pages which status is draft or published it's render all the page



i don't want to show draft pages to end user.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.