jchv/go-webview2

Unable to access local file resources (like images...)

matwachich opened this issue · 0 comments

This is because when loading HTML content with SetHTML, we are not autorized to access local content.

Look at this function SetVirtualHostNameToFolderMapping, I think it is the sollution after reading this and this