We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efcba21 commit 24dd076Copy full SHA for 24dd076
server/Pages/_Host.cshtml
@@ -32,12 +32,6 @@
32
var viteScriptToUpdate = """<script type="module" src="/@vite/client"></script>""";
33
source = source.Replace(viteScriptToUpdate, $"""<script type="module" src="/@vite/client" nonce="{nonce}"></script>""");
34
}
35
- else
36
- {
37
- // Angular release build does not add any nonce to the scripts, so we need to add it manually
38
- // var nonceScript = $"<script nonce=\"{nonce}\" ";
39
- // source = source.Replace("<script ", nonceScript);
40
- }
41
42
// link rel="stylesheet"
43
var nonceLinkStyle = $"<link nonce=\"{nonce}\" rel=\"stylesheet";
0 commit comments