Failed to find a valid digest in the 'integrity' attribute for resource

Hi, I face a problem about failing to load JS and CSS resources in the preview build.

Related PR chore: create theme config by razonyang · Pull Request #421 · razonyang/hugo-theme-bootstrap · GitHub.

But the PR Hugo Pipes by razonyang · Pull Request #405 · razonyang/hugo-theme-bootstrap · GitHub works fine(develop branch with custom domain): https://deploy-preview-405–hugo-theme-bootstrap.netlify.app

I have no clue to figure it out. I’d appreciate some help.

Hey @razonyang,

I’m not seeing the error you mention. Could you show a reproduction?

1 Like

I fixed it by specifying an explicit URL(hugo -b $DEPLOY_PRIME_URL). But I don’t know why.