mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 02:51:39 +01:00
parent
a46b75e48d
commit
a619bb313d
@ -52,6 +52,30 @@ or set `HUGO_ENV` as "production" in system env-vars
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Failed to find a valid digest in the 'integrity' attribute for resource ... ?
|
||||||
|
|
||||||
|
Read about How Subresource Integrity helps: [Subresource_Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)
|
||||||
|
|
||||||
|
Why was the `asset` not loading ? : [How_browsers_handle_Subresource_Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity#How_browsers_handle_Subresource_Integrity)
|
||||||
|
|
||||||
|
**Solution:**
|
||||||
|
|
||||||
|
Set the following in `config.yml`
|
||||||
|
|
||||||
|
```yml
|
||||||
|
params:
|
||||||
|
assets:
|
||||||
|
disableFingerprinting: true
|
||||||
|
```
|
||||||
|
|
||||||
|
Linked Issues:
|
||||||
|
|
||||||
|
- https://stackoverflow.com/questions/65056585/hugo-theme-not-loading
|
||||||
|
- https://stackoverflow.com/questions/65040931/hugo-failed-to-find-a-valid-digest-in-the-integrity-attribute-for-resource
|
||||||
|
- https://blog.gerardbeckerleg.com/posts/hugo-failed-to-find-a-valid-digest-in-the-integrity-attribute-for-resource/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Archive Page
|
## Archive Page
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
Loading…
Reference in New Issue
Block a user