Open pilot114 opened 1 year ago
I'm sorry for that. The next move I will do or accept about JQuery is just dropping it.
Would you accept to inline jquery in the 2 html files as an easy workaround? Our staging environment has to have a specific CSP policy just because of this
Instead of inlining it I prefer using a local snapshot of jquery (.min.js) in order to keep the integrity check (integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
)
I guess
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
would be replaced by
<script src="js/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="></script>
Ok, I did a PR to move the external JS to assets: https://github.com/NoiseByNorthwest/php-spx/pull/248
Web UI don't work without internet connection (if browser cache is clear)