Closed baiwan-chenhao closed 4 months ago
in the terminal:
blog/:14 Failed to find a valid digest in the 'integrity' attribute for resource 'https://baiwan-chenhao.github.io/blog/assets/css/stylesheet.4599eadb9eb2ad3d0a8d6827b41a8fda8f2f4af226b63466c09c5fddbc8706b7.css' with computed SHA-256 integrity 'tgnFjVwRu5CxpU4EAF10rR3fIhZet59VM5Z+V9+cO1A='. The resource has been blocked.
publish well when using other theme.
Has this problem been solved? @baiwan-chenhao
From https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#failed-to-find-a-valid-digest-in-the-integrity-attribute-for-resource--
Solution:
Set the following in config.yml
params: assets: disableFingerprinting: true
in the terminal:
blog/:14 Failed to find a valid digest in the 'integrity' attribute for resource 'https://baiwan-chenhao.github.io/blog/assets/css/stylesheet.4599eadb9eb2ad3d0a8d6827b41a8fda8f2f4af226b63466c09c5fddbc8706b7.css' with computed SHA-256 integrity 'tgnFjVwRu5CxpU4EAF10rR3fIhZet59VM5Z+V9+cO1A='. The resource has been blocked.