push
This commit is contained in:
parent
f0d578ef04
commit
f86308183a
|
@ -112,7 +112,7 @@ namespace monacoPreview
|
|||
var webViewOptions = new CoreWebView2EnvironmentOptions
|
||||
{
|
||||
// Enable CORS for local file access.
|
||||
AdditionalBrowserArguments = "--disable-web-security --disable-web-security"
|
||||
AdditionalBrowserArguments = "--disable-web-security --allow-file-access-from-file"
|
||||
};
|
||||
|
||||
var env = await CoreWebView2Environment.CreateAsync(null, null, webViewOptions);
|
||||
|
|
Loading…
Reference in a new issue