Skip to main content
CSP sources Weaverse Studio needs while it drives the storefront in its iframe. Shaped like Hydrogen’s ContentSecurityPolicyDirectives, so it can be passed as createContentSecurityPolicy({ directives }), where each array extends Hydrogen’s defaults.

Properties

string[]
Origins the Studio bridge fetches from.
string[]
Origins Studio loads fonts from.
string[]
The Studio origin allowed to embed the storefront.
string[]
Origins Studio loads images from.
string[]
The Studio bridge origin, plus 'unsafe-eval' in design mode.
string[]
Origins Studio loads stylesheets from.