Skip to content

@vue-storefront/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Dec 09:00
· 2 commits to main since this release
f1dfc20

Minor Changes

  • aa9e8a9: [ADDED] cookieOptions config. This option allows you to customize the cookie options which are set for a given cookie name.

    Example:

    {
      integrations: {
        magento: {
          location: "@vue-storefront/magento-api/server",
          configuration: {
            // ...
            cookieOptions: {
              "vsf-customer": {
                secure: process.env.NODE_ENV === 'production',
                sameSite: process.env.NODE_ENV === 'production' ? 'none' : 'strict',
              }
            }
          },
        },
      },
    }