tauri_utils::html

Function inject_csp

Source
pub fn inject_csp(document: &NodeRef, csp: &str)
Expand description

Injects a content security policy to the HTML.