Skip to content

Commit 24dd076

Browse files
committed
Remove
1 parent efcba21 commit 24dd076

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

server/Pages/_Host.cshtml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
var viteScriptToUpdate = """<script type="module" src="/@vite/client"></script>""";
3333
source = source.Replace(viteScriptToUpdate, $"""<script type="module" src="/@vite/client" nonce="{nonce}"></script>""");
3434
}
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-
}
4135

4236
// link rel="stylesheet"
4337
var nonceLinkStyle = $"<link nonce=\"{nonce}\" rel=\"stylesheet";

0 commit comments

Comments
 (0)