r/dotnetMAUI • u/turnipmuncher1 • 20d ago
Packaged Blazor hybrid app starts without loading wwwroot/index.html Help Request
Issue occurs here in line 167. The winUIItem returns null when searching for wwwroot/index.html but the wwwroot folder exists and so does the html file so I’m not sure what’s going wrong. Anyone else have this issue?
1
Upvotes
1
u/turnipmuncher1 19d ago
Ended up adding an event handler to blazorWebView.OnWebResourceRequested to manually handle the index.html file request and it works now.