the WebView2 interface has a setting/method SetVirtualHostNameToFolderMapping.
[CoreWebView2.SetVirtualHostNameToFolderMapping Method (Microsoft.Web.WebView2.Core) | Microsoft Learn](Microsoft WebView2)
With that method it is possible to map something like “http://localhost” to “C:.…”.
This is needed to enable modules in local environment and keep CSS linking standard.
I have tested this in another environment with WebView2 and it did work.
Is such method available from MBS WebView2 control or could be implemented?
Thanks a lot!