aiware-object-to-csp
v0.0.4
Published
This library was generated with [Nx](https://nx.dev).
Downloads
19
Readme
object-to-csp
This library was generated with Nx.
It converts given CSP Object to HTML CSP String. Objects are used in object structure to comply with the current config inheritence model.
Input
"Content-Security-Policy": {
"default-src": {
"'self'": null,
"*.veritone.com": null,
"*.aiware.com": null
},
}
Output
<meta http-equiv="Content-Security-Policy" content="default-src 'self' *.veritone.com *.aiware.com;"/>