Skip to main content

Type Alias: PreviewConfig

PreviewConfig = object

Defined in: packages/core/src/types.ts:62

Properties

alternativeAuthorizationHeader?

optional alternativeAuthorizationHeader: boolean

Defined in: packages/core/src/types.ts:68

Flag to enable using the alternative authorization header.

This can be useful if you have separate JWT-based authentication on your project.


usePostLinkForRedirect?

optional usePostLinkForRedirect: boolean

Defined in: packages/core/src/types.ts:74

If enabled, it will use the post.link property of the REST response to redirect to the appropriate route for previewing