Describe the bug
The js won't load properly if the application server is located behind a reverse-proxy running on a firewall.
Possible solution would require to disable the integrity check for .js
_How can I disable the Subresource integrity in the server configuration?_
To Reproduce
Steps to reproduce the behavior:
Logfile
Irrelevant as the problem is not related to the application itself.
Screenshots


Desktop/Smartphone
Same issue regardless of browser unless using IE (which don't support subressource integrity)
Additional context
Kimai 1.8
You cannot turn them off.
Maybe you can remove the integrity block: https://github.com/kevinpapst/kimai2/blob/master/public/build/entrypoints.json#L43
Or you rebuild the frontend assets with deactivated hashes:
https://github.com/kevinpapst/kimai2/blob/master/webpack.config.js#L20
Or you tell your proxy to not fuck up the files ... the integrity check only fails if the files are being changed.
Or you tell your proxy to not fuck up the files ... the integrity check only fails if the files are being changed.
I wish I could... Fricking Sophos!
I'll remove the integrity hash to check if is fixes the issue.
EDIT: It works \o/
Thanks for the tip =)
Most helpful comment
I wish I could... Fricking Sophos!
I'll remove the integrity hash to check if is fixes the issue.
EDIT: It works \o/
Thanks for the tip =)