Skip to content

v2.8.1

Compare
Choose a tag to compare
@vcua-mobify vcua-mobify released this 09 Nov 22:23
· 16 commits to release-2.8.x since this release
324ce0a

What's Changed

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

Example usage:

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

Full Changelog: v2.8.0...v2.8.1