#Getting Nonce for unsafe-inline code

1 messages · Page 1 of 1 (latest)

barren iron
#

hello-pangea/dnd requires a CSP nonce to be passed in, since it uses a local style tag. The tauri docs say that nonces will be applied to local content, but is there any way to get that nonce and make sure that the dnd library is using it?
https://github.com/hello-pangea/dnd/blob/main/docs/guides/content-security-policy.md

GitHub

💅 Beautiful and accessible drag and drop for lists with React. ⭐️ Star to support our work! - hello-pangea/dnd

barren iron
#

Bump?

barren iron
#

@shell dagger does tauri have this functionality? Just hoping to get an answer one way or another

shell dagger
#

Nope, it does not.