In my index.html file in my angular project I have a script tag in the page head that looks something like this.
<script nonce="1234567890"></script>
This works for the majority of the pages, but in several javascript files it does not run.
these files are excluded :
runtime.js
polyfills.js
mains.js
Is there a better solution to get this script tag to run on every page and javascript file within the app, I understand why they are not executed on these pages because they are not directly linked to the index.html file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…