UNPKG

nuxt-security

Version:

🛡️ Security Module for Nuxt based on HTTP Headers and Middleware

9 lines (8 loc) 349 B
/** * This plugin updates the CSP directives with the nonce and hashes generated by the server. * * Runs in `render:response` so that hashes computed from the finalized HTML (see * 30-cspSsgHashes) are already available when the CSP directive is composed. */ declare const _default: import("nitropack").NitroAppPlugin; export default _default;