To get around the issue of Git modifying the line endings of static Blazor files, most people are recommending that you create a .gitattributes file with "* binary" as its only contents to force git to treat these files as binary instead of text. In video tutorials that I have followed line by line, this works as intended.
When I do the same locally, I still get one file, dotnet.5.0.3.js, having its line endings modified, which in turn causes the sha256 integrity checks to fail.
Is there another method I can try instead? You can see the project's gh-pages branch here (https://github.com/TDuffinNTU/gh-blazor/tree/gh-pages) which is identical to the one I'm copying from a tutorial, which works just fine.