AdrienTorris / awesome-blazor

Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Creative Commons Zero v1.0 Universal
8.64k stars 954 forks source link

How to disable HTTP to HTTPS redirection in Blazor Hybrid Wpf #630

Open protossman opened 1 year ago

protossman commented 1 year ago

I want to load a file with an HTTP path, but in Blazor Hybrid WPF, it throws the error "This request has been blocked; the content must be served over HTTPS." How can I disable the HTTP to HTTPS redirection in Blazor Hybrid WPF?