Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / previewResponseHeaders

Function: previewResponseHeaders()

previewResponseHeaders(claims): Record<string, string>

The headers every preview response carries: framed only by the token's editor, never stored by a browser or a CDN, never indexed, and its address — which holds the token — never sent to another origin.

Parameters

claims

PreviewClaims

Returns

Record<string, string>