I have a asp.net.core hosted Blazor WASM app running on .NET 7, on Ubuntu with Nginx.
When I visite my app by IP address, the web app works just fine. But when I visite it by domain name, it fails to load and shows these errors:
Failed to find a valid digest in the 'integrity' attribute for resource '<URL>' with computed SHA-256 integrity '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='. The resource has been blocked.
Here is a screenshot of the errors:
I can access my web api successfully by domain name.
I've found some related questions, such as Failed to find a valid digest in the 'integrity' attribute for resource in Blazor app, but in my case the app works fine when I visite it by IP.