Skip to content

Use tokens for determining if a request is Live Preview - #5495

Merged
jasonvarga merged 1 commit into
masterfrom
fix/live-preview-draft
Mar 14, 2022
Merged

Use tokens for determining if a request is Live Preview#5495
jasonvarga merged 1 commit into
masterfrom
fix/live-preview-draft

Conversation

@jasonvarga

Copy link
Copy Markdown
Member

Instead of using the X-Statamic-Live-Preview header to decide if a request is a Live Preview request (which would allow draft entries to be viewed) instead we'll check that the token in the request was for Live Preview.

@jasonvarga
jasonvarga merged commit e94fc47 into master Mar 14, 2022
@jasonvarga
jasonvarga deleted the fix/live-preview-draft branch March 14, 2022 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant