diff --git a/Oqtane.Server/wwwroot/js/reload.js b/Oqtane.Server/wwwroot/js/reload.js index 1b058f4e..528a8551 100644 --- a/Oqtane.Server/wwwroot/js/reload.js +++ b/Oqtane.Server/wwwroot/js/reload.js @@ -65,6 +65,7 @@ function injectScript(script) { newScript.setAttribute(script.attributes[i].name, script.attributes[i].value); } } + newScript.nonce = script.nonce; // must be referenced explicitly newScript.innerHTML = script.innerHTML; // dynamically injected scripts cannot be async or deferred