add online generator link, remove duplicate "change JS"

master
rugk 6 years ago
parent 949cc1c013
commit 6b070a36d0

@ -176,8 +176,7 @@ Note that the `.gitignore` will exclude all non-PHP files in the vendor dir when
Because we implemented [Subresource Integrity (SRI)](https://www.w3.org/TR/SRI/) the SRI hashes in the templates need to be regenerated after each change of a javascript file. To make this easy, we implemented a mechanism for this into the unit testing bootstrap process. After changing any javascript file, follow this process:
- edit the javascript file(s)
- run the unit tests as described above
- deploy the updated javascript file(s) _and_ the updated templates on your webserver
Of course you also manually adjust the hashes in the template files. For more information how to do this [have a look at this article](https://scotthelme.co.uk/subresource-integrity/).
Of course you also manually adjust the hashes in the template files. For more information how to do this [have a look at this article](https://scotthelme.co.uk/subresource-integrity/) or e.g. use [some online generator](https://www.srihash.org/).

Loading…
Cancel
Save