Skip to content

v3.2.1

Compare
Choose a tag to compare
@vcua-mobify vcua-mobify released this 09 Nov 22:25
2c85024

@salesforce/[email protected]

  • Revert mandatory enforcement of Content-Security-Policy headers. Provide middleware as an opt-in replacement. #1528

Example usage:

// your-project/app/ssr.js
import {defaultPwaKitSecurityHeaders} from '@salesforce/pwa-kit-runtime/utils/middleware'
const {handler} = runtime.createHandler(options, (app) => {
    app.use(defaultPwaKitSecurityHeaders)
    // ...
}

@salesforce/[email protected]

  • Use the new opt-in mechanism for enforcing the default security headers required by PWA Kit projects. #1528

Full Changelog: v3.2.0...v3.2.1