draftMode appears to be disabled in production
Unanswered
Southern yellowjacket posted this in #help-forum
Southern yellowjacketOP
(Next 15.0.3) I have a api route /next/preview which enables draftMode after making some checks. Then redirects the user back to a path. In dev mode, when I try to get
const {isEnabled} = await draftMode()
it works, and returns true
, however in production it does not.