-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find a valid digest Error #215
Comments
This works fine if you change the following line to "" in themes/gokarna/layouts/partials/head.html. My guess is that the integrity is not matching before and after the build.
|
Hi @dhje0ng thanks for reporting the issue. Referencing the stack overflow post about the error, it seems like the integrity match could be failing due to Cloudfare config (see top voted answer). We could make the integrity value as "" as a workaround but I'm not in favour of that since it would mean opening ourselves up for potential security vulnerabilities where the external resources could have changed. I know this issue is resolved for you but would you mind checking if you have "Auto Minify" turned on if you're using Cloudfare (or any other provider)? |
I'm deploying from Github Blog itself, without any external provider. Does this have anything to do with the HTTPS option provided by Github? |
in my experience, this happens because the service providers keep a cache of the files including CSS files. This happens on Github pages as well; try clearing the cache and see if it helps. |
@526avijitgupta @yashmehrotra Should we add this to the Docs and close the issue? |
I followed the procedure to build the gokarna theme and deployed it via Github, but I got a
I am getting hash related errors that do not occur with hugo server -D.
Also, as a result of these errors, the icons, pictures, etc. displayed by the theme are not displaying correctly.
Can you help me to resolve these errors?
The text was updated successfully, but these errors were encountered: